I've made sure to build my D program with the -g
flag (add symbolic debug info) and it looks like I can set simple LOC breakpoints in both GDB and LLDB like this: b SomeModule.d:42
- the debugger replies with a memory address for the new breakpoint.
However when I run
the program from the debugger, it gets stopped somewhere completely different than SomeModule.d:42
. What am I missing?