Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Yuki on June 04, 2010, 04:58:59 am

Title: [Debugger] Can't expand pointers in watch window ?
Post by: Yuki on June 04, 2010, 04:58:59 am
Hi , C::B's debugger is quite good , but it has a problem that a pointer in a struct can't be expand.

example :
struct Node
{
    Node * next;
    int a;
};

when I watch a struct instance variable . the item "next" just show the pointer's value (address), I can't expand it to watch the node it points. As I know , VC's debugger can expand the pointer inside a struct. It will be very nice if C::B's debugger supports this feature.
Title: Re: [Debugger] Can't expand pointers in watch window ?
Post by: oBFusCATed on June 04, 2010, 07:07:39 pm
This is a problem(feature) of gdb...
It does the expansion only in gdb/mi mode, there is a debugger plugin in progress that uses gdb/mi mode.
But it is in early development state.