[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/>> On Jun 3, 2016, at 10:28 AM, Ron \
Teitelbaum [via Smalltalk] <<a \
href="/user/SendEmail.jtp?type=node&node=4899099&i=0" target="_top" rel="nofollow" \
link="external">[hidden email]</a>> wrote: <br/>>
<br/>>
<br/>>
<br/>>
<br/>>
<br/>> From: Joseph Alotta
<br/>> Sent: Friday, June 03, 2016 10:54 AM
<br/>>
<br/>>
<br/>>
<br/>>
<br/>> 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. 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. \
<br/>> <br/>>
<br/>> [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. <br/>>
<br/>> 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. <br/>>
<br/>> All the best,
<br/>>
<br/>> Ron
<br/>>
<br/>>
<br/>> Sincerely,
<br/>>
<br/>> Joe.
<br/>>
<br/>>
<br/>>
<br/>>
<br/>> > On Jun 3, 2016, at 9:03 AM, Ron Teitelbaum [via Smalltalk] <[hidden \
email]> wrote: <br/>> >
<br/>> > Hi Joe,
<br/>> >
<br/>> > "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. <br/>> >
<br/>> > 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. <br/>> >
<br/>> > All the best,
<br/>> >
<br/>> > Ron Teitelbaum
<br/>> >
<br/>> > > From: Joseph Alotta
<br/>> > > Sent: Friday, June 03, 2016 10:33 AM
<br/>> > >
<br/>> > > Greetings,
<br/>> > >
<br/>> > > I am using the debugger and wondering how to use the "run to \
here" <br/>> > > function.
<br/>> > >
<br/>> > > I think you have to be in the top of a debugger pane to go down \
to the spot <br/>> > > where the cursor is.
<br/>> > >
<br/>> > > But how does it work if you're many layers into a program.
<br/>> > >
<br/>> > > I want to debug the message just before the one that bombs.
<br/>> > >
<br/>> > > Are there any usage tips?
<br/>> > >
<br/>> > > Sincerely,
<br/>> > >
<br/>> > > Joe.
<br/>> > >
<br/>> > >
<br/>> > >
<br/>> > > _______________________________________________
<br/>> > > Beginners mailing list
<br/>> > > [hidden email]
<br/>> > > <a \
href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_top" \
rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br/>> \
> <br/>> > _______________________________________________
<br/>> > Beginners mailing list
<br/>> > [hidden email]
<br/>> > <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" \
target="_top" rel="nofollow" \
link="external">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br/>> \
> <br/>> >
<br/>> > If you reply to this email, your message will be added to the \
discussion below: <br/>> > <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/>> \
> To start a new topic under Squeak - Beginners, email [hidden email] <br/>> \
> To unsubscribe from Squeak - Beginners, click here. <br/>> > NAML
<br/>>
<br/>>
<br/>>
<br/>> View this message in context: Re: run to here
<br/>>
<br/>> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
<br/>>
<br/>>
<br/>> _______________________________________________
<br/>> Beginners mailing list
<br/>> [hidden email]
<br/>> <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" \
target="_top" rel="nofollow" \
link="external">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br/>> \
<br/>>
<br/>> If you reply to this email, your message will be added to the discussion \
below: <br/>> <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/>> \
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/>> To unsubscribe from Squeak - Beginners, \
click here. <br/>> 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