[Cuis-dev] Debugger position when hitting a breakpoint

Facundo Javier Gelatti javiergelatti at gmail.com
Tue Mar 18 14:00:27 PDT 2025


Hi!

I attach some changes that make the debugger stop on the `self halt`
message send (where the breakpoint was defined by the programmer), instead
of showing the contents of the Object>>#halt method (seldom —if not never—
needed).

The change also works for other breakpoint messages that begin with "halt",
such as #haltOnce. It also leaves the frame visible in the debugger, so
that in the (rare) case we need to debug the breakpoint method, we can
manually go up the call stack and restart it.
An additional detail for code-review: the `self send` on
#stepOutBreakpointMethods is necessary so that "Through" works as expected.

Cheers!
Facu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250318/390d5ce5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DebuggerStopOnHaltMessageSend.st
Type: application/vnd.sailingtracker.track
Size: 900 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250318/390d5ce5/attachment.st>


More information about the Cuis-dev mailing list