User forums > Using Code::Blocks

see content of a vector in debugging

<< < (24/26) > >>

mgpensar:
Hi,

I cannot even see v[0] in debugger. I keep getting a "kernel event / debug exception message". Please see attached image.

I am using:
Windows Vista (not by my choice)
C::B 8.02
mingw 5.1.4
gdb 5.2.1-1

Any suggestions ?

Thank you in advance for your attention !


--- Quote from: jens on June 07, 2009, 10:12:13 am ---
--- Quote from: ollydbg on June 07, 2009, 08:45:44 am ---I test your code, found it is even bad in my system(MinGW, WindowsXP), I can't view "v[0]".
See my screenshot


--- End quote ---
You have to use the []-operator in your program, otherwise it gets not compiled in and therefore cannot be used by gdb.

@taram:
watching the variable as array does not work here.

--- End quote ---

[attachment deleted by admin]

killerbot:
your gdb is way too old. Try to upgrade to for example GDB 6.8

Jenna:

--- Quote from: killerbot on September 03, 2009, 11:06:54 pm ---your gdb is way too old. Try to upgrade to for example GDB 6.8

--- End quote ---

And the changesdiscussed in this thread are in trunk and not in the 8.02 release.
If you need them, you should download a recent nighly build, or you have to wait for the next release.

mgpensar:
I will download gdb and trunk and give it a try.
Thank you very much !


--- Quote from: jens on September 03, 2009, 11:24:23 pm ---
--- Quote from: killerbot on September 03, 2009, 11:06:54 pm ---your gdb is way too old. Try to upgrade to for example GDB 6.8

--- End quote ---

And the changesdiscussed in this thread are in trunk and not in the 8.02 release.
If you need them, you should download a recent nighly build, or you have to wait for the next release.

--- End quote ---

drac:
You might find this blog entry interesting. It's about STL Visualisation from one of the KDevelop developers.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version