Is there anyway to speed up ICD? I have a bug but its near the end of my program loop and it seems to take forever to get to where the problem is.
Is there anyway to speed up ICD? I have a bug but its near the end of my program loop and it seems to take forever to get to where the problem is.
You can put a DISABLE DEBUG at the top of the program, and then an ENABLE DEBUG just before the area you want to look at.
Then everything should run at normal speed until it gets to that point.
<br>
DT
Darrel,
Thanks for the great tip. That makes my life so much nicer.
Your welcome!
Just wondered if you notice the reduction in code size when you did that too.
Anything between the DISABLE DEBUG and ENABLE DEBUG doesn't get the added instructions placed inbetween EVERY line of code. For a program with 500 lines, it can add as much as 2K words to the program size.
So, they really come in handy when trying to debug a program that's almost filled the chips program space.
<br>
DT
To be completely honest I never looked at the program size before and after. I will now that you mention it. This is definitely a useful piece of information. Thanks again.
Bookmarks