[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-beginners
Subject:    [Newbies] Re: run to here
From:       Joseph Alotta <joseph.alotta () gmail ! com>
Date:       2016-06-03 17:42:19
Message-ID: 69CFE5C0-9B2E-4B3C-A7E0-D1D8C9506768 () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


great! thanks!


> On Jun 3, 2016, at 10:28 AM, Ron Teitelbaum [via Smalltalk] \
> <ml-node+s1294792n4899085h84@n4.nabble.com> wrote: 
> 
> 
> 
> 
> From: Joseph Alotta
> Sent: Friday, June 03, 2016 10:54 AM
> 
> 
> 
> 
> 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.  
> 
> [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 J.  
> The other trick is to just change count J.  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 J. 
> All the best,
> 
> Ron
> 
> 
> Sincerely, 
> 
> Joe. 
> 
> 
> 
> 
> > On Jun 3, 2016, at 9:03 AM, Ron Teitelbaum [via Smalltalk] <[hidden email]> \
> > 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 [hidden email] 
> > To unsubscribe from Squeak - Beginners, click here. 
> > NAML
> 
> 
> 
> View this message in context: Re: run to here
> 
> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
> 
> 
> _______________________________________________ 
> 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-tp4899055p4899085.html
> To start a new topic under Squeak - Beginners, email \
> ml-node+s1294792n107673h12@n4.nabble.com  To unsubscribe from Squeak - Beginners, \
> click here. NAML





--
View this message in context: \
http://forum.world.st/run-to-here-tp4899055p4899099.html Sent from the Squeak - \
Beginners mailing list archive at Nabble.com.


[Attachment #5 (text/html)]

great! thanks!
<br/><br/><div class='shrinkable-quote'><br/>&gt; On Jun 3, 2016, at 10:28 AM, Ron \
Teitelbaum [via Smalltalk] &lt;<a \
href="/user/SendEmail.jtp?type=node&node=4899099&i=0" target="_top" rel="nofollow" \
link="external">[hidden email]</a>&gt; wrote: <br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; From: Joseph Alotta
<br/>&gt; Sent: Friday, June 03, 2016 10:54 AM
<br/>&gt; 
<br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; Thank you. 
<br/>&gt; 
<br/>&gt; If I am in a loop, and I want to back around, it doesn't seem to work. 
<br/>&gt; 
<br/>&gt; 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/>&gt;  <br/>&gt; 
<br/>&gt; [Ron Teitelbaum] Yeah I know it. &nbsp;There are two tricks you can use \
here. &nbsp;First is go to the bottom of the loop and do "run to here". &nbsp;Then \
use Through a few times to get back to the top of the method. &nbsp;Anything selected \
above the execution point even in a loop is the past J.  <br/>&gt; 
<br/>&gt; The other trick is to just change count J. &nbsp;It is Smalltalk so just \
select the count ivar in the debugger on the right bottom windows. &nbsp;Just select \
count and next to it change the value and accept it. &nbsp;It's a hack but it works \
fine J. <br/>&gt; 
<br/>&gt; All the best,
<br/>&gt; 
<br/>&gt; Ron
<br/>&gt; 
<br/>&gt; 
<br/>&gt; Sincerely, 
<br/>&gt; 
<br/>&gt; Joe. 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; &gt; On Jun 3, 2016, at 9:03 AM, Ron Teitelbaum [via Smalltalk] &lt;[hidden \
email]&gt; wrote:  <br/>&gt; &gt; 
<br/>&gt; &gt; Hi Joe, 
<br/>&gt; &gt; 
<br/>&gt; &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; &gt; 
<br/>&gt; &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; &gt; 
<br/>&gt; &gt; All the best, 
<br/>&gt; &gt; 
<br/>&gt; &gt; Ron Teitelbaum 
<br/>&gt; &gt; 
<br/>&gt; &gt; &gt; From: Joseph Alotta 
<br/>&gt; &gt; &gt; Sent: Friday, June 03, 2016 10:33 AM 
<br/>&gt; &gt; &gt; 
<br/>&gt; &gt; &gt; Greetings, 
<br/>&gt; &gt; &gt; 
<br/>&gt; &gt; &gt; I am using the debugger and wondering how to use the "run to \
here"  <br/>&gt; &gt; &gt; function. 
<br/>&gt; &gt; &gt; 
<br/>&gt; &gt; &gt; I think you have to be in the top of a debugger pane to go down \
to the spot  <br/>&gt; &gt; &gt; where the cursor is. 
<br/>&gt; &gt; &gt; 
<br/>&gt; &gt; &gt; But how does it work if you're many layers into a program. 
<br/>&gt; &gt; &gt; 
<br/>&gt; &gt; &gt; I want to debug the message just before the one that bombs. 
<br/>&gt; &gt; &gt; 
<br/>&gt; &gt; &gt; Are there any usage tips? 
<br/>&gt; &gt; &gt; 
<br/>&gt; &gt; &gt; Sincerely, 
<br/>&gt; &gt; &gt; 
<br/>&gt; &gt; &gt; Joe. 
<br/>&gt; &gt; &gt; 
<br/>&gt; &gt; &gt; 
<br/>&gt; &gt; &gt; 
<br/>&gt; &gt; &gt; _______________________________________________ 
<br/>&gt; &gt; &gt; Beginners mailing list 
<br/>&gt; &gt; &gt; [hidden email] 
<br/>&gt; &gt; &gt; <a \
href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_top" \
rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><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" rel="nofollow" \
link="external">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br/>&gt; \
&gt;  <br/>&gt; &gt; 
<br/>&gt; &gt; If you reply to this email, your message will be added to the \
discussion below:  <br/>&gt; &gt; <a \
href="http://forum.world.st/run-to-here-tp4899055p4899057.html" target="_top" \
rel="nofollow" link="external">http://forum.world.st/run-to-here-tp4899055p4899057.html</a><br/>&gt; \
&gt; To start a new topic under Squeak - Beginners, email [hidden email]  <br/>&gt; \
&gt; To unsubscribe from Squeak - Beginners, click here.  <br/>&gt; &gt; NAML
<br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; View this message in context: Re: run to here
<br/>&gt; 
<br/>&gt; Sent from the Squeak - Beginners mailing list archive at Nabble.com.
<br/>&gt; 
<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" rel="nofollow" \
link="external">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-tp4899055p4899085.html" \
target="_top" rel="nofollow" \
link="external">http://forum.world.st/run-to-here-tp4899055p4899085.html</a><br/>&gt; \
To start a new topic under Squeak - Beginners, email <a \
href="/user/SendEmail.jtp?type=node&node=4899099&i=1" target="_top" rel="nofollow" \
link="external">[hidden email]</a>  <br/>&gt; To unsubscribe from Squeak - Beginners, \
click here. <br/>&gt; NAML
</div><br/>

	
	
	
<br/><hr align="left" width="300" />
View this message in context: <a \
href="http://forum.world.st/run-to-here-tp4899055p4899099.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.<br/>



_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic