You can simulate single stepping by inserting code between each statement. While that may sound like a lot to get rid of, once your code is debugged, it's not so bad if you use conditional compilation, viz:
The #IF lines can simply be copied and pasted where needed. By defining sstep to be 0, you can eliminate the debug stuff in you compiled code entirely.
The halt routine can even be designed to dump all your vairiables and pin states, too, if you want that much info at each step.
-Phil
Post Edited (Phil Pilgrim (PhiPi)) : 12/3/2007 4:34:24 AM GMT
Comments
The #IF lines can simply be copied and pasted where needed. By defining sstep to be 0, you can eliminate the debug stuff in you compiled code entirely.
The halt routine can even be designed to dump all your vairiables and pin states, too, if you want that much info at each step.
-Phil
Post Edited (Phil Pilgrim (PhiPi)) : 12/3/2007 4:34:24 AM GMT