I'm having a problem with Breakpoints in AVR Studio. On many ocassions I get a message that says something like this: "One or more breakpoints could not be set...."
Now when I set a breakpoint in the code below AVR Studio moves the brakpoint down a few lines as shown in the code. What is going on? I could use some help why this is happening.
if(BitTime > MaxWaitBit) { Done = 0x01; // <- I PUT THE BREAKPOINT ON THIS LINE! } else { NumBits = NumBits + 1; // <- THE BREAKPOINT GOES ON THIS LINE! }