I am desperate to get v10.05 (Mingw32) debug watches working properly. To enable this in context I created a new wxWidgets Frame-base project, built and debugged the code as created by IDE. I specifically debugged the 'OnAbout' method:
void testFrame::OnAbout(wxCommandEvent &event)
{
wxString msg = wxbuildinfo(long_f);
wxMessageBox(msg, _("Welcome to..."));
}
The CodeBlocks debug window for the msg wxString object after the wxbuildinfo had been assigned is as shown below. This is from the 'Local Variables' section of the debug window. This shows no string data. I also tried assigning 'msg' to a watch, but again this shows no string data (simply shows msg="".
If I hover the mouse over the variable in the code window, then the debugger displays an error message saying msg does not exist in this context. The debugger log shows the message "No symbol "wxStringData" in current context."
Other variables and arguments do appear to be shown correctly in the debug window.
According to the codeblocks website, I should get the screen as shown in the second capture below.
I uninstalled CodeBlocks, downloaded and reinstalled, but this did not help.
This debug function did always work on previous builds.... but I am sure it is something
I am doing wrong. Can anyone help??
[attachment deleted by admin]