User forums > Using Code::Blocks

[Debugger] Can't expand pointers in watch window ?

(1/1)

Yuki:
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.

oBFusCATed:
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.

Navigation

[0] Message Index

Go to full version