How to force a break

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

How to force a break

Gary Dunn-2

Is there a "correct " way to force a debugger session to open? A smalltalk break point? Currently I am sending an unrecognized method, but it seems awkward.

Gary Dunn
Open Slate Project
http://openslate.org


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: How to force a break

Casey Ransberger-2
self break. "works"
self halt. "also works."
foo halt. "should work if foo inherits from Object like most things"

Hope this helps!

On May 3, 2011, at 6:27 PM, Gary Dunn <[hidden email]> wrote:

Is there a "correct " way to force a debugger session to open? A smalltalk break point? Currently I am sending an unrecognized method, but it seems awkward.

Gary Dunn
Open Slate Project
http://openslate.org

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: How to force a break

Stuart Herring-2
In reply to this post by Gary Dunn-2
self halt.
You can then simply step over it in the debugger.

Regards,
Stuart

On Wed, May 4, 2011 at 11:27 AM, Gary Dunn <[hidden email]> wrote:

> Is there a "correct " way to force a debugger session to open? A smalltalk
> break point? Currently I am sending an unrecognized method, but it seems
> awkward.
>
> Gary Dunn
> Open Slate Project
> http://openslate.org
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners