Counting clocks in an ISR???
![cbmeeks](https://forums.parallax.com/uploads/userpics/XA4KA96CAQCG/n8UQUDK57E9D1.png)
Can't seem to get SXSIM to start/stop on my breakpoints in my ISR. It only works in the main loop. What am I doing wrong?
Thanks!
cbmeeks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic
Thanks!
cbmeeks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic
Comments
I just have checked the most recent version of SXSim (2.08.05) with one of my applications, and could positively verify that it halts on breakpoints inside of the ISR. Could you send me the code that does not work for you as expected? My PM address is g.daubach@mda-burscheid.de.
Please keep in mind that SXSim executes programs in Run mode much much slower than a real SX. So if you possibly have set a breakpoint on an instruction that is executed only every 500 ISR calls, or so, it will take pretty long until SXSim halts on that breakpoint. Please try to set a breakpoint on the first ISR instruction, or the last one (the RETIW, or RETI instruction), and see if this works.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G