Can't debug unicode non-English string's
Posted: Fri Apr 23, 2010 11:20 am
debuger - gdb 6.8, Windows XP, CodeLite - 2.5.2.4032
wxWidgets compile with unicode=1 shared=1 monolithic=1
send to debuger - p tt.mb_str(wxConvLocal) (in code wxString tt = wxT("проба");)
get from debuger
Continuing...
$1 = {
m_str = 0xc3b9b0 "\357\360\356\341\340"
}
Debugger pane->Locals->Value (wxString variable) show {...}
In CodeBlock this is work.
Maybe I'm not so explained. Must be a result in debuger console
command - p tt.mb_str(wxConvLocal)
result $1 = {
m_str = 0xc3b9b0 "проба"
}
wxWidgets compile with unicode=1 shared=1 monolithic=1
send to debuger - p tt.mb_str(wxConvLocal) (in code wxString tt = wxT("проба");)
get from debuger
Continuing...
$1 = {
m_str = 0xc3b9b0 "\357\360\356\341\340"
}
Debugger pane->Locals->Value (wxString variable) show {...}
In CodeBlock this is work.
Maybe I'm not so explained. Must be a result in debuger console
command - p tt.mb_str(wxConvLocal)
result $1 = {
m_str = 0xc3b9b0 "проба"
}