#ReleaseSafe works with rad debugger but ReleaseFast does not

1 messages · Page 1 of 1 (latest)

vapid lantern
#

with ReleaseFast its just stuck on the same line, is there a compile flag that could fix this?

edit:

code compiled with this command: zig build-exe .\parser.zig -fno-strip -fno-omit-frame-pointer -OReleaseFast

it gets stuck at the last ligne of WinStartup() , setting a breakpoint somewhere will break correctly (visible in the disassembly view) but the line highlighted wont change.

edit: except the functions in compiler_rt, those are not affected and I can step through them correctly

hushed rapids
#

Not enough details here to understand what your issue is.

empty quail
vapid lantern
empty quail
#

well, ReleaseFast doesn't include debug symbols so it makes sense that it can't map the assembly to the right source line

#

oh wait, you did specify -fno-strip, that should work

#

does it work in other debuggers?

vapid lantern