digitalmars.D.debugger - Debugging phobos with VisualD
- Igor (6/6) Sep 13 2017 I seem to have corrupted something within my installation and I
- Rainer Schuetze (8/14) Sep 13 2017 As phobos is released without debug information, functions built into
I seem to have corrupted something within my installation and I can't find how to fix it. I am convinced that earlier I was able to setup a breakpoint within some phobos module that I used and step through phobos code from my project but that doesn't work any more. Does anyone know how I can make that work again?
Sep 13 2017
On 13.09.2017 14:06, Igor wrote:I seem to have corrupted something within my installation and I can't find how to fix it. I am convinced that earlier I was able to setup a breakpoint within some phobos module that I used and step through phobos code from my project but that doesn't work any more. Does anyone know how I can make that work again?As phobos is released without debug information, functions built into the library cannot be debugged as is. Templates should be debuggable unless the compiler can deduce from the source code that they have been instantiated in phobos, too. As a workaround you can rebuild phobos as part of the project by enabling "Build and use local version of phobos with same compiler options" in the linker options of the debug configuration.
Sep 13 2017