I correctly get a wxMessageBox displayed when code execution hits my main.cpp Constructor code. I click OK and there's a brief pause. Then the MainFrame page appears to be correctly displayed. Immediately, a new brief message is displayed that looks something like this:
This message is displayed for MAAAAYBE 1.5 seconds, and then the message disappears and the program ends. It's up and gone so quickly I don't have time to read the whole message. I have tried many times to get a Printscreen of the message, but the clipboard is always empty when I tried to paste it into Paint.wxWidgets Debug Alert
A debugging check in this application has failed. ../../src/common/variant(681): assert "Assert Failure" failed in GetBool...Could not convert to a bool.
[ ] Don't show this message again.
1. Any idea why the program crashes so quickly? How can I get it to slow down or stop, so I can read the whole message? In the Main program's CodeLite Settings page, the General Tab, I have already clicked the checkbox "Pause when execution ends."
2. Is there any way in the world to track down where the code is bombing? I have put breakpoints in every procedure in main.cpp, including OnInit and the MainApp constructor, but none of the breakpoints gets triggered. The "Call Stack" tab in CodeLite is empty. I've started going through my code for if statements, making sure that every condition contains either "== true" or "== false".
Another data point: when I open a smaller, different CodeLite workspace, and compile and build that code, it runs perfectly. So clearly, my problem is somewhere in my big program's workspace.
I am only looking for suggestions about where to start looking. I know I haven't given you very many clues about what my code does or what its architecture is like.
I cannot post code snippets, because my workspace is just too large. It consists of four projects containing a total of 65 *.c, *.h, and *.cpp files. A few of the files are over 4,000 lines long. Plus there are the CodeLite settings to consider. Since I don't know where the problem is, I wouldn't know where to even start.
Thanks for reading this far.