I am setting breakpoints in a timed ISR that occurs every 10 mS (priority is 7). Normally I would expect to hit the breakpoint once, then hit "Continue" and have the code execute until the next time it reaches the breakpoint.
But I can tell that I am really going nowhere at all. When I hit "Continue" I appear hit the same breakpoint again. But I am really just sticking there. If I check tick timers etc. I can see that nothing else is happening. I can put a breakpoint right below the first one and I will never hit it unless I remove the first breakpoint.
So in order to debug by repetitively hitting a breakpoint I constantly have to set and clear one of two adjacent
breakpoints. Each time I hit a breakpoint I have to clear it.
Compiler optimization is 0. Board is SAM4S Xplained Pro.
I must have something set wrong somewhere. I sure would like to know how to fix this.
Nigel
AS6.2 SAM4S Breakpoints Get Stuck
Moderator: nferre
Post
Re: AS6.2 SAM4S Breakpoints Get Stuck
I read in another thread that others have similar problems. I personally did not check it, but it seems TC0_Handler() code cannot be debugged at all.
Who is online
Users browsing this forum: Baidu [Spider] and 0 guests