For more and more projects we're finding ourselves using Apple's XCode IDE. Here are some of our tips for using that
Making std::strings show their values in the debugger
In the value column in the debugger, paste the following:
For strings:
{(char *)$VAR.c_str()}:s
For string*s:
{(char *)$VAR->c_str()}:s
Thanks to Chris Friesen, on the XCode-Users list, for this hint
You should be able to use the value strings above for wxStrings when wxWidgets is compiled with STL Support (so that many wxBase components use STL base classes).
For wxStrings compiled without this mode, a different string is required:
For wxStrings:
{(char *)$VAR.m_pchData}:s
For wxString*s:
{(char *)$VAR->m_pchData}:s
However this only works in ANSI mode. Unicode support seems to require that a feature to display wchar_t
Customizing XCode
Exending Xcode – File & Project Templates, TextMate Style Macros