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

FoxyBrown via Digitalmars-d-debugger digitalmars-d-debugger at puremagic.com
Sun Aug 6 12:41:52 PDT 2017


On Sunday, 6 August 2017 at 18:39:42 UTC, Rainer Schuetze wrote:
>
>
> 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.

Awesome! Seems to work! I owe you a new car!

I still get a few errors

[gdk.Event.Event]	D0006: Error: Type resolve failed	

object at Object	D0002: Error: Syntax error	

but other than that I'm seeing stuff, and that is what's 
important. I'll play around with it for a few days and see. It 
it's working like it looks like it's working, it's gonna make 
things a hell of a lot easier.




More information about the Digitalmars-d-debugger mailing list