Byon Garrabrant wrote: > > I noticed a bug last night in the MPLAB 3.22.02 simulator. I vaguely > remember hearing about it on the list, so I thought I'd ask if it > has already been brought up. > The bug involves a timing discrepency between stepping through code > and stepping over code. The stopwatch claims a routine took one more > instruction tick when stepped over than when stepped through. > If this bug has not surfaced before, I will send it to Microchip. > > Byon > > ________________________________________ > Byon Garrabrant N6BG byon@netcom.com Byon, Microchip recently ran across this same problem. It's being entered in the development system's database. The stopwatch is counting an extra instruction when you use step-over. The accuracy of the stopwatch is pretty much guaranteed to be good while in RUN mode, but sometimes the internals of debugging cause it to mis-count when single stepping. Darrel Johansen