I have a problem debugging an application I am building using wxWidgets and codelite under Windows (XP 32- and 64-bit versions). After a certain point in the program execution, it is no longer possible to step one line at a time. Breakpoints are still hit, but if I then try and step to the next line, the marker arrow (for the current line) disappears and then subsequent stepping requests will generate a debugger message like so:
Code: Select all
DEBUG>>00000555-exec-next
DEBUG>>00000555^error,msg="Warning:\nCannot insert breakpoint -289.\nError accessing memory address 0x785947b8: Input/output error.\n"
Warning:\nCannot insert breakpoint -289.\nError accessing memory address 0x785947b8: Input/output error.
The closest I have come to identifying what leads to this problem is as follows. I have a form with a couple of wxTextCtrls used to specify some paths. The OnLeftDown event for these will show an open dialog if they are currently empty, and showing this dialog seems to be the trigger. If I remove the OnLeftDown functionality (i.e. the paths must be entered manually) I don't have the problem. I also tried replacing the use of wxFileDialog with some win32 API code, but the same problem still occurs.
My codelite version is 4.1.5770 (latest binary package with wxWidgets & MinGW) and a full debugger log is attached. Any pointers are greatly appreciated.
You do not have the required permissions to view the files attached to this post.