- changed status to open
Event<T> hides Call Stack information when stepping inside the eventhandler
Issue #356
resolved
When using Event<T> the visible call stack at the depth of the invoking procedure gets obstructed by InvokeEventHandlerStub. In my example there should be a line “Project41.TC.InvokeEvent”
I don’t know if this is a problem with Spring or the debugger itself but this does impact debuggability, even when you add $D- to Spring.inc
Reproducible by loading the attached project, adding a breakpoint inside TX.EventHandler and running.
This does apply to master and develop. Tested with Delphi 10.4.1 and 10.4.2.
Comments (4)
-
repo owner -
repo owner -
assigned issue to
-
assigned issue to
-
repo owner - changed milestone to 2.0
-
repo owner - changed status to resolved
fixed
#356→ <<cset 67f9ee76b7d4>>
- Log in to comment
It’s mostly a debugger inability to properly walk the stack when there are certain combination of instructions - but I can look into tweaking the assembler code a bit to work properly. This call stack indeed looks pretty bad.