dlangide
dlangide copied to clipboard
Debugging
Related to #337 when debugging the wrong file is getting higlighted.
Could you provide some scenario to reproduce? Are file with same names located in the same project or different projects? What is your OS and debugger?
Xubuntu is the OS, gdb debugger,
-I make a new workspace. -I create 2 projects which have the file app.d
Now by debugging the bug happens.
I'm also having a problem while debugging, albeit I'm not sure what jiyanj91 is talking about.
This is on Windows 10, with dmd installed. (I couldnt get gdc to be found by dlangide yet) I'm using the built in mago-mi debugger. Reproduction:
- get dlangide: dub fetch dlangide && dub run --build=release dlangide
- create new "hello world" project
- activate breakpoint somewhere in the app.d file
- build, start debugging
Now, when the breakpoint is reached, the "Stack" view on the right updates first to the correct address(?), but then jumps to the first entry in the drop down list, showing ntdll.dll, kernel32.dll etc. instead of showing the entry of main. When I click through each entry in the drop down list, it updates to the selected entry, but after about half a second it jumps back to the first entry.
So I'm expecting to see the following:
Actually I'm getting:
With Code:
all them stacks:
I hope this helps
Thanks! I'll try to fix it.
I forgot to mentiion that i select the second project as startup project of course