<br><br><div class="gmail_quote">On Mon, Jan 10, 2011 at 12:35 PM, Sayth Renshaw <span dir="ltr"><<a href="mailto:flebber.crue@gmail.com">flebber.crue@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Jan 10, 2011 at 9:16 AM, Justin Zamora <span dir="ltr"><<a href="mailto:justin@zamora.com" target="_blank">justin@zamora.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The stepper works fine on simple programs. You can try watching this<br>
video tutorial I made for my students. It's basic, but it covers the<br>
essentials of using the stepper.<br>
<a href="http://www.youtube.com/watch?v=j3X07a-7YRM" target="_blank">http://www.youtube.com/watch?v=j3X07a-7YRM</a><br>
<br>
Justin<br>
<div><div></div><div><br>
On Sun, Jan 9, 2011 at 9:02 AM, Sayth Renshaw <<a href="mailto:flebber.crue@gmail.com" target="_blank">flebber.crue@gmail.com</a>> wrote:<br>
> I am having a real issue with the stepper. Maybe the programs are too simple<br>
> so far for the stepper, but it doesn't step.<br>
><br>
> The check syntax feature is great. for the check-color game should the<br>
> stepper work? What is the trick? I just wanted to check the flow by stepping<br>
> through.<br>
> Each time I use it I get "Couldn't find a step matching that criterion"<br>
> No matter what I change select or do.<br>
><br>
> ;check-color<br>
> ;colour guessing game (target target)(guess guess)<br>
> ;symbol symbol symbol symbol -> string<br>
> ;four color symbols<br>
> (define (check-color target1 target2 guess1 guess2)<br>
> (cond<br>
> [(eq? target1 guess1) 'Perfect]<br>
> [(or (eq? target1 guess1)(eq? target2 guess2))<br>
> 'OneColorAtCorrectPosition]<br>
> [(or (eq? target1 guess2)(eq? target2 guess1)) 'OneColorOccurs]<br>
> [else 'NothingCorrect]))<br>
><br>
> ;(check-color 'red 'green 'green 'red)<br>
> ;'OneColorOccurs<br>
><br>
> Sayth<br>
><br>
</div></div>> _________________________________________________<br>
> For list-related administrative tasks:<br>
> <a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br>
><br>
</blockquote></div><br></div></div>Thanks heaps. Very handy<br>
</blockquote></div><br>Actually, I am still experiencing the same problem. I highlight the code I want to step through and click the step button to bring up the step window.<br><br>It is stating all "All of the definitions have been successfully evaluated."<br>
And then no stepping can be done and the above error still occurs.<br><br>The only way I have been able to get the stepper to work is to write code errors purposefullly, this allows me to circumnavigate the "All of the definitions have been successfully evaluated." statement and allows the stepper to function.<br>
<br><br><br>Sayth<br><br>