User forums > Using Code::Blocks
C::B wxString & GDB
uenz:
Hi,
i tried to find out if is is possible to show wxString contents in GDB.
A post form Jan/Feb 06 says it should be possible and work without intervention.
In my installation i only see wxString::m_pchData, but not the Text in the String.
No clue what i can du to get it to work.
Can someone give me a hint?
thx
uenz
Pecan:
Could you please state your Operating System, Compiler, and CodeBlocks Version.
uenz:
Oh sorry i completely forgot to do...
OS: WinXP
C::B 1.00 Rev. 3004 (nightly build)
GCC 3.4.1
GDB 3.6
The debug problem also occures on my Suse Linux box (GCC 4.1) with the selfcompiled C:B from svn.
Pecan:
--- Quote from: uenz on October 06, 2006, 08:59:00 pm ---Hi,
i tried to find out if is is possible to show wxString contents in GDB.
A post form Jan/Feb 06 says it should be possible and work without intervention.
In my installation i only see wxString::m_pchData, but not the Text in the String.
No clue what i can du to get it to work.
Can someone give me a hint?
thx
uenz
--- End quote ---
When using the CB debugger (not standalone GDB) wxStrings are shown
in both the watches window and the popup window.
When using the standalone GDB debugger, strings can be displayed using the "x" display command:
The following url contains the documentation for GDB which could be found using Google.
http://www.google.com/search?hl=en&q=GDB+documentation&btnG=Google+Search
uenz:
Thanks for your fast response although my question was not complete.
I use only C:B to ddebug, but without success. Here is a Screenshot of my watchwindow:
[attachment deleted by admin]
Navigation
[0] Message Index
[#] Next page
Go to full version