Does ISR can be debugged ?

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

 

I'm using the Atmel AVR JTAGICE3 Debugger for debugging my project. 

I'm also dealing with ISRs in my project and I want to debug it in order to see that what I'm expecting to see really happens. 

My question is : can I set a breakpoint inside the interrupt ? If no, How can I debug my ISR ? any advices will be appreciated.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sure you can set a breakpoint there - if anything the problem is often that you can never catch the code in anything BUT the ISR when you do this - but if that's the bit you are debugging it shouldn't be an issue.