I've got a project that (seemingly) all of a sudden stopped working. I'm down to the point where the main object of interest has now been stripped of everything. No inheritance, no members to initialize, pretty much a blank class with some empty methods.
When I run, I try to step into the constructor for the class and KDS just hangs. When I click the pause button to figure out what's running, this is what I see:
As luck would have it, as I was running my code again to get the above screenshot, I was able to get some task information as well, which I previously hadn't been able to get:
MQX_UNHANDLED_INTERRUPT (0x0041) is pretty specific. I'll start looking for that code. If anyone knows what it is, please post it!
Back to my original question, is the right process to follow:
- install hardfault, memory, etc. interrupt handlers (I have the four main ones)
- pause anytime your code execution seems stalled
- install the MQX task-aware debugging tools
- single step through the "frozen" code until you get task info, like I was fortunately able to get this time around?