User forums > Using Code::Blocks

see content of a vector in debugging

<< < (22/26) > >>

killerbot:
I found out what my issue of yesterday was, the original CB gdb_types.script was back instead of the patched one  :oops:

Just tested the latest script : everything show fines now, though it still says type is "int*"

ollydbg:

--- Quote from: killerbot on June 17, 2009, 08:06:12 am ---I found out what my issue of yesterday was, the original CB gdb_types.script was back instead of the patched one  :oops:

Just tested the latest script : everything show fines now, though it still says type is "int*"


--- End quote ---

Did you change
line 94:      whatis $arg0._M_impl._M_start 
to whatis *$arg0._M_impl._M_start 

in stl-views-1.0.3.gdb.

Works fine here in TDM-GCC

By ollydbg at 2009-06-16

killerbot:
ok, I thought it was a line in our script :-)

EDIT : confirmed it works

ollydbg:

--- Quote from: killerbot on June 17, 2009, 08:29:14 am ---ok, I thought it was a line in our script :-)

--- End quote ---
At first, I also thought it was in "gdb_types.script"   :D, but didn't find "Line 94" there. So...

killerbot:
alright ..................  THANKS to everyone who helped out in writing, testing , commenting the improvements resulting in the ability to see the contents of a vector :-)

I have committed to svn : revision 5653.


But this is just the start ... ;-)

Much much more to think of : vector of vector, list, map, showing std::string / wxString in all cases (I think now there's a difference between member variable, local variable or program argument but  I forgot why ...)

Once more : good job and cheers to all who helped out.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version