AnsweredAssumed Answered

How do you properly debug _int_default_isr()?

Question asked by dave408 on Sep 25, 2015
Latest reply on Oct 1, 2015 by dave408

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:

  1. install hardfault, memory, etc. interrupt handlers (I have the four main ones)
  2. pause anytime your code execution seems stalled
  3. install the MQX task-aware debugging tools
  4. single step through the "frozen" code until you get task info, like I was fortunately able to get this time around?