sdkilde
Joined: 19 Dec 2009 Posts: 4 Location: Wisconsin
|
ICD-U64 debug issue |
Posted: Mon Sep 13, 2010 5:00 pm |
|
|
I am having unusual instruction jumping when using the ICD-64 in debug mode with PCWHD on a PIC18F97J60.
What is happening is the program is jumping backward in the code when it should not. Specifically when a bp is set at line 245 then when single stepping it jumps back to line 161 then on the next step back to 245 then back to 150 and back to 245. The issue is at line 245 all is happening is this line of code: BuffLength = strlen(TXTbuffer);
I fail to understand why this should happen unless there is some corruption of the instruction pointer from the debug operations.
Any suggestions on what to look at to see what is going on?? |
|