Thank you.

If I am in a loop, and I want to back around, it doesn’t seem to work.

For example, my loop is at count := 1.  I want to look at count := 3.  So I go 
to the top of the loop and click “run to here” and count should be 2.


Sincerely,

Joe.



> On Jun 3, 2016, at 9:03 AM, Ron Teitelbaum [via Smalltalk] 
> <ml-node+s1294792n4899057...@n4.nabble.com> wrote:
> 
> Hi Joe, 
> 
> "run to here" only goes forward not back.  It works like continue with a 
> future break point (your cursor location).  For it to work you need to place 
> the cursor somewhere ahead of where you are and then select "run to here".  
> It should in most cases take you to where you are trying to go. 
> 
> If you are trying to go backwards, and it is safe to do so, select the method 
> you want to debug in the stack.  Then press the restart button.  This will 
> restart the execution to the beginning of the method you have selected.  You 
> can then use the "run to here" method to get to the right location in your 
> method to start debugging. 
> 
> All the best, 
> 
> Ron Teitelbaum 
> 
> > From: Joseph Alotta 
> > Sent: Friday, June 03, 2016 10:33 AM 
> > 
> > Greetings, 
> > 
> > I am using the debugger and wondering how to use the “run to here” 
> > function. 
> > 
> > I think you have to be in the top of a debugger pane to go down to the spot 
> > where the cursor is. 
> > 
> > But how does it work if you’re many layers into a program. 
> > 
> > I want to debug the message just before the one that bombs. 
> > 
> > Are there any usage tips? 
> > 
> > Sincerely, 
> > 
> > Joe. 
> > 
> > 
> > 
> > _______________________________________________ 
> > Beginners mailing list 
> > [hidden email] 
> > http://lists.squeakfoundation.org/mailman/listinfo/beginners
> 
> _______________________________________________ 
> Beginners mailing list 
> [hidden email] 
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://forum.world.st/run-to-here-tp4899055p4899057.html
> To start a new topic under Squeak - Beginners, email 
> ml-node+s1294792n107673...@n4.nabble.com 
> To unsubscribe from Squeak - Beginners, click here.
> NAML





--
View this message in context: 
http://forum.world.st/run-to-here-tp4899055p4899072.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to