Is there a way to prevent the debugger from single stepping into an interrupt routine. To disable interrupts help but it is awkward.
I disassemble the mon51,I found mon51 never call BEFORE_GO and AFTER_GO,Why? my keil version is V7.1 Hmmm. We use it all the time for custom monitor configurations and it gets called. Have you tried it to see if it works? You could set a port bit in BEFORE_GO and reset the bit in AFTER_GO and use a scope or logic probe to verify. Jon
thanks Jon,I followed what you said,I can see it works. could you please tell me detail about mon51?thanks! my mail:tomsbao@hotmail.com