 Some hints on working with interrupts under the
XDS510 emulator
If you are debugging code that uses interrupts, you should be
aware of the following emulator side-effect:
Interrupts are disabled during assembly single
stepping
This feature is used to avoid receiving an interrupt after every
single-step with real-time external interrupts. If you wish to take interrupts during
single stepping, use the " run 1 "
command that is totally equivalent to the
single stepping key except in the fact that it doesn't disable interrupts.
"Interrupts are
always enabled during C single-stepping"
because the debugger implements C single-stepping by using an SWI (emulator interrupt
function) and "running" the device until this trap is received |