[ddbg] Showing nested struct/class arrays

Simen Haugen simen at norstat.no
Tue Oct 9 00:53:43 PDT 2007


I have a struct like this:

struct A {
    // some members
    A[] subAs;
}

When debugging this, I can see the number of members in subAs, but if I try 
to inspect them using the IDE, I get:
->Parser: Invalid expression!

This applies to all array members (except basic array types)

Is there a bug in the gdb interface? The command line works, but I like just 
clicking on the variables :)

I'm using descent/ddbg 0.10Beta/Dmd 1.022, but I've also had the same 
problem with C::B and earlier versions of both ddbg and dmd.




More information about the Digitalmars-d-debugger mailing list