>Date: Tue, 29 Apr 1997 10:52:06 -0700 >From: darrel.johansen@Microchip.COM (Darrel Johansen) >Subject: Re: Bug In MPLAB 3.22 ? > > Bruno, > Yes, you've found a bug. We'll put it on the schedule to fix it. > Thanks, > > Darrel > >______________________________ Reply Separator _________________________________ >Subject: Bug In MPLAB 3.22 ? >Author: Bruno Rodeghiero at Internet_Exchange >Date: 4/28/97 11:01 PM > > >****** Copy of the message sent to the PICLIST ******* > > >Perhaps I got a BUG, I dont'know if it' already a known one.. > >When I put (or I forget I had put ) a breakpoint - with the mouse >right-button or with the Breakpoint Setting Window - in a Subroutine, >if I use STEP OVER key in the main - trying to jump over the subroutine >- the program will _not_ stop at the breakpoint, and, when the program >returns to the main program, in the STACK window I still see the >subroutine address.( call OxZZ ). > >Furthermore, the values in the register are those active at the >Breakpoint, not those at the RETLW ..... I think MPLAB-SIM uses the >breakpoint as a "Return" code.. > >If the sub address does'nt pop out from the SIMULATOR stack, next time >I will use - in my program - a double CALL I will get a STACK OVERFLOW error. > >I was lucky, because I didn't yet realized that the STEPPED-OVER >subroutine doesn' behave as the STEPPED-IN until I went hunting for >that misterious error.. > >Perhaps this problem could be happening only simulating a PIC16C57 ? > >I developed also a very simple Test program ( only some NOP and a >couple of CALL ) and I got the same result so it is not in my code. > >In my analysis, there are two conflicting command to MPLAB (STEP_OVER >and BREAK ) but I think that it shouldn't happen , simply the Break >should be executed anyway and the STEP_OVER used as a RUN_TO_BREAKPOINT >command... > > > >Dear Darrel >I had no answer to this message, but I think that IT IS A BUG.. AND >VERY ANNOYING, TOO. > ------------- Copy of Private message for the PICLIST.. Have fun. ================================ Bruno Rodeghiero i3RGH Bassano del Grappa (VI) ITALY mailto:brurodeg@tin.it ================================