Visual D structs/classes not showing in debugging (reprise)

Rainer Schuetze via Digitalmars-d-debugger digitalmars-d-debugger at puremagic.com
Sun Aug 6 11:39:42 PDT 2017



On 06.08.2017 19:03, Johnson Jones wrote:
> Rainer, could you explain to me again why structs and classes are not 
> properly shown in the debugger?

The problem is that the debug information is not included by dmd in the 
final executable if it has been written to a library (as with your gtkd 
library).

This is https://issues.dlang.org/show_bug.cgi?id=4014, which should be 
solved in dmd master. You might want to give the nightly build a try: 
http://nightlies.dlang.org/dmd-nightly/dmd.master.windows.7z

You must add -gf to the "additional command line options" in the project 
configuration.


More information about the Digitalmars-d-debugger mailing list