At 06:54 AM 2/10/2008, WH Tan wrote: >I don't have the problem you mentioned with Real ICE... some how I got >other kind of problem. When I have a beakpoint that was working >properly, if I amended my code (added in some new lines/deleted some >lines) after recompiling and downloading the new firmware, the >debugging system seem to always 'forget' about the breakpoint. When >the new firmware ran for the first time, Real ICE at most of the time >will miss. I have to remove the breakpoint, then reinsert a new one >at the same location to make it 'remember' there is a breakpoint. This is normal behavior. The problem is that the breakpoint is saved as an address. If the source is changed, the desired breakpoint address moves. But: MPLAB doesn't resolve that change. My solution is the same as yours: if I make a change to the source that might move the breakpoint address, I remove the breakpoint(s), then recreate them. Perhaps Microchip should consider a fix? dwayne -- Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist