[Cuis-dev] Debugger position when hitting a breakpoint

Juan Vuletich juan at cuis.st
Wed Mar 19 06:58:10 PDT 2025


Hi Facu,

Cool stuff! It is now at GitHub.

Thanks!

On 3/18/2025 6:00 PM, Facundo Javier Gelatti via Cuis-dev wrote:
> 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


-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich



More information about the Cuis-dev mailing list