User forums > Help
Problem watching string with gdb
(1/1)
Zlika:
Hi all !
I use the last friday nightly build with GDB 5.2.1.
When I try to debug and watch a string variable, I've got this message (instead of the value of the string):
Cannot resolve method string::c_str() to any overloaded instance
Is it a known bug? I've searched the forum but I haven't found this kind of problem.
Zlika
stahta01:
--- Quote from: Zlika on January 29, 2007, 05:13:02 pm ---Hi all !
I use the last friday nightly build with GDB 5.2.1.
Zlika
--- End quote ---
I think you need to use the GDB 6.x; They do NOT support 5.2.1 officially; and changes in the past month was said to break the working of GDB 5.x. So, if you must use GDB 5.x try a month old build. Note, I do NOT used gdb so take what I say with a grain of salt. But, I do read a lot of posts.
Tim S
Zlika:
Thank you for your answer.
It's indeed working with a 6.x version of GDB!
Zlika
Navigation
[0] Message Index
Go to full version