User forums > Using Code::Blocks

array enumeration in the debugger

(1/1)

kru2z:
Hi,
I really like using code::blocks, and it is always my environment of choice. but recently i stumbled upon a little problem (which actually made me move back to VS! lol)

When displaying an array  of structures in the debugger the enumeration is faulty - it looks like this:

[0 ]   <-- array index
   [1 ] - structure's element
   [2 ] -structure's element
   [3 ] structure's element
[4 ]  <--- array index

when in fact it should look like this:


[0 ]   <-- array index
   [0 ] - structure's element
   [1 ] -structure's element
   [2 ] structure's element
[1 ]  <--- array index

it really made the debugging harder, so maybe you guys know how to change the debugger settings? i know there is something like debugging scripts, and probably it is the gdb issue not code::blocks, but i am not proficient enough to make it myself....

Navigation

[0] Message Index

Go to full version