<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Joseph Alotta<br><b>Sent:</b> Friday, June 03, 2016 10:54 AM<br><br><o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Thank you. <br><br>If I am in a loop, and I want to back around, it doesn’t seem to work. <br><br>For example, my loop is at count := 1. &nbsp;I want to look at count := 3. &nbsp;So I go to the top of the loop and click “run to here” and count should be 2. <br><br><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt'><b><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[Ron Teitelbaum] Yeah I know it.  There are two tricks you can use here.  First is go to the bottom of the loop and do “run to here”.  Then use Through a few times to get back to the top of the method.  Anything selected above the execution point even in a loop is the past </span></i></b><b><i><span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span></i></b><b><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>.  <o:p></o:p></span></i></b></p><p class=MsoNormal style='margin-bottom:12.0pt'><b><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The other trick is to just change count </span></i></b><b><i><span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span></i></b><b><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>.  It is Smalltalk so just select the count ivar in the debugger on the right bottom windows.  Just select count and next to it change the value and accept it.  It’s a hack but it works fine </span></i></b><b><i><span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span></i></b><b><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>.<o:p></o:p></span></i></b></p><p class=MsoNormal style='margin-bottom:12.0pt'><b><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>All the best,<o:p></o:p></span></i></b></p><p class=MsoNormal style='margin-bottom:12.0pt'><b><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ron<o:p></o:p></span></i></b></p><p class=MsoNormal style='margin-bottom:12.0pt'><br>Sincerely, <br><br>Joe. <br><br><o:p></o:p></p><div><p class=MsoNormal><br>&gt; On Jun 3, 2016, at 9:03 AM, Ron Teitelbaum [via Smalltalk] &lt;<a href="/user/SendEmail.jtp?type=node&amp;node=4899072&amp;i=0" target="_top">[hidden email]</a>&gt; wrote: <br>&gt; <br>&gt; Hi Joe, <br>&gt; <br>&gt; &quot;run to here&quot; only goes forward not back. &nbsp;It works like continue with a future break point (your cursor location). &nbsp;For it to work you need to place the cursor somewhere ahead of where you are and then select &quot;run to here&quot;. &nbsp;It should in most cases take you to where you are trying to go. <br>&gt; <br>&gt; If you are trying to go backwards, and it is safe to do so, select the method you want to debug in the stack. &nbsp;Then press the restart button. &nbsp;This will restart the execution to the beginning of the method you have selected. &nbsp;You can then use the &quot;run to here&quot; method to get to the right location in your method to start debugging. <br>&gt; <br>&gt; All the best, <br>&gt; <br>&gt; Ron Teitelbaum <br>&gt; <br>&gt; &gt; From: Joseph Alotta <br>&gt; &gt; Sent: Friday, June 03, 2016 10:33 AM <br>&gt; &gt; <br>&gt; &gt; Greetings, <br>&gt; &gt; <br>&gt; &gt; I am using the debugger and wondering how to use the “run to here” <br>&gt; &gt; function. <br>&gt; &gt; <br>&gt; &gt; I think you have to be in the top of a debugger pane to go down to the spot <br>&gt; &gt; where the cursor is. <br>&gt; &gt; <br>&gt; &gt; But how does it work if you’re many layers into a program. <br>&gt; &gt; <br>&gt; &gt; I want to debug the message just before the one that bombs. <br>&gt; &gt; <br>&gt; &gt; Are there any usage tips? <br>&gt; &gt; <br>&gt; &gt; Sincerely, <br>&gt; &gt; <br>&gt; &gt; Joe. <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; _______________________________________________ <br>&gt; &gt; Beginners mailing list <br>&gt; &gt; [hidden email] <br>&gt; &gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_top">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>&gt; <br>&gt; _______________________________________________ <br>&gt; Beginners mailing list <br>&gt; [hidden email] <br>&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_top">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>&gt; <br>&gt; <br>&gt; If you reply to this email, your message will be added to the discussion below: <br>&gt; <a href="http://forum.world.st/run-to-here-tp4899055p4899057.html" target="_top">http://forum.world.st/run-to-here-tp4899055p4899057.html</a><br>&gt; To start a new topic under Squeak - Beginners, email <a href="/user/SendEmail.jtp?type=node&amp;node=4899072&amp;i=1" target="_top">[hidden email]</a> <br>&gt; To unsubscribe from Squeak - Beginners, click here. <br>&gt; NAML <o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p><div class=MsoNormal><hr size=3 width=300 style='width:2.5in' align=left></div><p class=MsoNormal>View this message in context: <a href="http://forum.world.st/run-to-here-tp4899055p4899072.html">Re: run to here</a><br>Sent from the <a href="http://forum.world.st/Squeak-Beginners-f107673.html">Squeak - Beginners mailing list archive</a> at Nabble.com.<o:p></o:p></p></div></div></body></html>