Is it something you can use step over on? Otherwise you can comment out the delay or modify the program counter to jump past the loop. You can also modify the counter register to shorten the loop while stepping thru. At 07:21 PM 1/24/00 -0700, you wrote: >When running MPLAB stimulator in single step fashion to try to debug an LCD >control program, I ran into some 10msec delay loops - OUCH! What takes a >short time when the PIC is running, takes many hundreds of mouse clicks or >more to step through the program. >Even the "Animate" mode was taking way too long to get through these delay >loops. > >What is the easiest way to deal with this? I haven't figured out how to use >breakpoints yet but would a breakpoint at the end of the delay loop stop the >program here so I can resume the single step stimulation? I don't want to >comment out the delay loops as I am not sure the program will run properly >then. > >Thanks. > >Charlie WA2IPZ >Burley, Idaho > > Larry G. Nelson Sr. mailto:L.Nelson@ieee.org http://www.ultranet.com/~nr