Debugger: is there a way to skip a message?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Debugger: is there a way to skip a message?

stepharong
Hi

I need to skip message while debugging and I thought that it was possible.
May be I do not see it.

Stef

--
Using Opera's mail client: http://www.opera.com/mail/

Reply | Threaded
Open this post in threaded view
|

Re: Debugger: is there a way to skip a message?

Tudor Girba-2
Hi Stef,

I am not sure I understand what you mean by "skip a message”. Is it different then “Over”?

Cheers,
Doru


> On Mar 10, 2017, at 9:20 PM, stepharong <[hidden email]> wrote:
>
> Hi
>
> I need to skip message while debugging and I thought that it was possible.
> May be I do not see it.
>
> Stef
>
> --
> Using Opera's mail client: http://www.opera.com/mail/
>

--
www.tudorgirba.com
www.feenk.com

"Innovation comes in the least expected form.
That is, if it is expected, it already happened."


Reply | Threaded
Open this post in threaded view
|

Re: Debugger: is there a way to skip a message?

Nicolas Cellier
Hi Stef, I guess what you want is something like:
1) step into
2) then return entered value like 'self'?
but in a single action.

2017-03-11 8:18 GMT+01:00 Tudor Girba <[hidden email]>:
Hi Stef,

I am not sure I understand what you mean by "skip a message”. Is it different then “Over”?

Cheers,
Doru


> On Mar 10, 2017, at 9:20 PM, stepharong <[hidden email]> wrote:
>
> Hi
>
> I need to skip message while debugging and I thought that it was possible.
> May be I do not see it.
>
> Stef
>
> --
> Using Opera's mail client: http://www.opera.com/mail/
>

--
www.tudorgirba.com
www.feenk.com

"Innovation comes in the least expected form.
That is, if it is expected, it already happened."



Reply | Threaded
Open this post in threaded view
|

Re: Debugger: is there a way to skip a message?

Tudor Girba-2
Ah, I got it. It is not supported at the moment and as far as I know, it was not supported in the SpecDebugger either.

But, it would definitely be an interesting thing to have.

Doru


> On Mar 11, 2017, at 9:24 AM, Nicolas Cellier <[hidden email]> wrote:
>
> Hi Stef, I guess what you want is something like:
> 1) step into
> 2) then return entered value like 'self'?
> but in a single action.
>
> 2017-03-11 8:18 GMT+01:00 Tudor Girba <[hidden email]>:
> Hi Stef,
>
> I am not sure I understand what you mean by "skip a message”. Is it different then “Over”?
>
> Cheers,
> Doru
>
>
> > On Mar 10, 2017, at 9:20 PM, stepharong <[hidden email]> wrote:
> >
> > Hi
> >
> > I need to skip message while debugging and I thought that it was possible.
> > May be I do not see it.
> >
> > Stef
> >
> > --
> > Using Opera's mail client: http://www.opera.com/mail/
> >
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Innovation comes in the least expected form.
> That is, if it is expected, it already happened."
>
>
>

--
www.tudorgirba.com
www.feenk.com

"We can create beautiful models in a vacuum.
But, to get them effective we have to deal with the inconvenience of reality."


Reply | Threaded
Open this post in threaded view
|

Re: Debugger: is there a way to skip a message?

Ben Coman
In reply to this post by stepharong
On Sat, Mar 11, 2017 at 4:20 AM, stepharong <[hidden email]> wrote:
> Hi
>
> I need to skip message while debugging and I thought that it was possible.
> May be I do not see it.

This would be a nice feature.  I never noticed if we ever had it
Two work arounds I sometimes use...
* select rest of the method and "Debug It".
* step-Into, and then "Return entered value"

cheer -ben

Reply | Threaded
Open this post in threaded view
|

Re: Debugger: is there a way to skip a message?

Tudor Girba-2
Oh, maybe “Return entered value” is what Stef was looking for.

If yes, you can obtain it from the contextual menu of the Stack.


Cheers,
Doru


On Mar 11, 2017, at 3:03 PM, Ben Coman <[hidden email]> wrote:

On Sat, Mar 11, 2017 at 4:20 AM, stepharong <[hidden email]> wrote:
Hi

I need to skip message while debugging and I thought that it was possible.
May be I do not see it.

This would be a nice feature.  I never noticed if we ever had it
Two work arounds I sometimes use...
* select rest of the method and "Debug It".
* step-Into, and then "Return entered value"

cheer -ben


--
www.tudorgirba.com
www.feenk.com

"Every thing should have the right to be different."




Reply | Threaded
Open this post in threaded view
|

Re: Debugger: is there a way to skip a message?

stepharong
In reply to this post by Tudor Girba-2
Hi

Like nicolas mentioned.
My scenario was:
        I was debugging a process with intermediary results (files that the  
process was removing)
        and I wanted to keep the files (ie. not executing some messages that I  
knew where removing the resources)
        because I needed to check the status of the intermediary files.
         cop them from the shell but it was boring.
I never thought that I would need that but I think that this is useful.
       
Stef

> Hi Stef,
>
> I am not sure I understand what you mean by "skip a message”. Is it  
> different then “Over”?
>
> Cheers,
> Doru
>
>
>> On Mar 10, 2017, at 9:20 PM, stepharong <[hidden email]> wrote:
>>
>> Hi
>>
>> I need to skip message while debugging and I thought that it was  
>> possible.
>> May be I do not see it.
>>
>> Stef
>>
>> --
>> Using Opera's mail client: http://www.opera.com/mail/
>>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Innovation comes in the least expected form.
> That is, if it is expected, it already happened."
>
>


--
Using Opera's mail client: http://www.opera.com/mail/

Reply | Threaded
Open this post in threaded view
|

Re: Debugger: is there a way to skip a message?

stepharong
In reply to this post by Tudor Girba-2
On Sat, 11 Mar 2017 09:54:56 +0100, Tudor Girba <[hidden email]>  
wrote:

> Ah, I got it. It is not supported at the moment and as far as I know, it  
> was not supported in the SpecDebugger either.

I wonder if the old debugger got it and spec did not offer it.
But yes it would be nice to have it (may be not as button) but as option.

>
> But, it would definitely be an interesting thing to have.
>
> Doru
>
>
>> On Mar 11, 2017, at 9:24 AM, Nicolas Cellier  
>> <[hidden email]> wrote:
>>
>> Hi Stef, I guess what you want is something like:
>> 1) step into
>> 2) then return entered value like 'self'?
>> but in a single action.
>>
>> 2017-03-11 8:18 GMT+01:00 Tudor Girba <[hidden email]>:
>> Hi Stef,
>>
>> I am not sure I understand what you mean by "skip a message”. Is it  
>> different then “Over”?
>>
>> Cheers,
>> Doru
>>
>>
>> > On Mar 10, 2017, at 9:20 PM, stepharong <[hidden email]> wrote:
>> >
>> > Hi
>> >
>> > I need to skip message while debugging and I thought that it was  
>> possible.
>> > May be I do not see it.
>> >
>> > Stef
>> >
>> > --
>> > Using Opera's mail client: http://www.opera.com/mail/
>> >
>>
>> --
>> www.tudorgirba.com
>> www.feenk.com
>>
>> "Innovation comes in the least expected form.
>> That is, if it is expected, it already happened."
>>
>>
>>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "We can create beautiful models in a vacuum.
> But, to get them effective we have to deal with the inconvenience of  
> reality."
>
>


--
Using Opera's mail client: http://www.opera.com/mail/

Reply | Threaded
Open this post in threaded view
|

Re: Debugger: is there a way to skip a message?

stepharong
In reply to this post by Tudor Girba-2


Oh, maybe “Return entered value” is what Stef was looking for.

If yes, you can obtain it from the contextual menu of the Stack.

it is not clear that it will skip the execution because it could do the execution and return the value you type. 


Cheers,
Doru


On Mar 11, 2017, at 3:03 PM, Ben Coman <[hidden email]> wrote:

On Sat, Mar 11, 2017 at 4:20 AM, stepharong <[hidden email]> wrote:
Hi

I need to skip message while debugging and I thought that it was possible.
May be I do not see it.

This would be a nice feature.  I never noticed if we ever had it
Two work arounds I sometimes use...
* select rest of the method and "Debug It".
* step-Into, and then "Return entered value"

cheer -ben


--
www.tudorgirba.com
www.feenk.com

"Every thing should have the right to be different."







--
Using Opera's mail client: http://www.opera.com/mail/
Reply | Threaded
Open this post in threaded view
|

Re: Debugger: is there a way to skip a message?

Ron Teitelbaum
Hi All,

There are ways that I skip execution.  Usually in loop processing.  If you change the index of a loop, (in the debugger change the number and accept) it will continue on from that index point.  You can also easily use run to here, to get to the top of a method, then change the method with false ifTrue: [ ... ] than accept to restart the method.  You could also set a temp var like runThis := true.  Wrap you code in runThis ifTrue: [ ].  then while debugging you can change the value of runThis in the debugger to skip execution.

All the best,

Ron

On Sun, Mar 12, 2017 at 12:45 PM stepharong <[hidden email]> wrote:


Oh, maybe “Return entered value” is what Stef was looking for.

If yes, you can obtain it from the contextual menu of the Stack.

it is not clear that it will skip the execution because it could do the execution and return the value you type. 


Cheers,
Doru


On Mar 11, 2017, at 3:03 PM, Ben Coman <[hidden email]> wrote:

On Sat, Mar 11, 2017 at 4:20 AM, stepharong <[hidden email]> wrote:
Hi

I need to skip message while debugging and I thought that it was possible.
May be I do not see it.

This would be a nice feature.  I never noticed if we ever had it
Two work arounds I sometimes use...
* select rest of the method and "Debug It".
* step-Into, and then "Return entered value"

cheer -ben


--
www.tudorgirba.com
www.feenk.com

"Every thing should have the right to be different."







--
Using Opera's mail client: http://www.opera.com/mail/

15ac416373d01 (674K) Download Attachment
(674K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Debugger: is there a way to skip a message?

Max Leske
In reply to this post by stepharong
What do you mean by "skip"? Not execute? Then not that I'm aware of. But you can:

1. step into
2. return value from method (right click on the current frame)

With a return value of nil that will have the same effect.

HTH,
Max

> On 10 Mar 2017, at 21:20, stepharong <[hidden email]> wrote:
>
> Hi
>
> I need to skip message while debugging and I thought that it was possible.
> May be I do not see it.
>
> Stef
>
> --
> Using Opera's mail client: http://www.opera.com/mail/
>


Reply | Threaded
Open this post in threaded view
|

Re: Debugger: is there a way to skip a message?

Max Leske
Oops. Didn't see all those answers :)

> On 13 Mar 2017, at 07:16, Max Leske <[hidden email]> wrote:
>
> What do you mean by "skip"? Not execute? Then not that I'm aware of. But you can:
>
> 1. step into
> 2. return value from method (right click on the current frame)
>
> With a return value of nil that will have the same effect.
>
> HTH,
> Max
>
>> On 10 Mar 2017, at 21:20, stepharong <[hidden email]> wrote:
>>
>> Hi
>>
>> I need to skip message while debugging and I thought that it was possible.
>> May be I do not see it.
>>
>> Stef
>>
>> --
>> Using Opera's mail client: http://www.opera.com/mail/
>>
>