Visual D structs/classes not showing in debugging (reprise)
Johnson Jones via Digitalmars-d-debugger
digitalmars-d-debugger at puremagic.com
Sun Aug 6 18:50:25 PDT 2017
On Sunday, 6 August 2017 at 19:41:52 UTC, FoxyBrown wrote:
> 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.
So, some variables are still showing up as {} ;/ I haven't
investigated enough.
Best I can tell so far is that the ones that are not working are
gtk objects that are defined in gtk c libs. They exist in gtkD
but I see a lot of "bgthread-2.0-0.dll'. Module was built without
symbols."
etc. I'm not sure if that the reason or not. But structs I have
defined in my modules seem to be showing up fine.
More information about the Digitalmars-d-debugger
mailing list