Hi guys, Does any one know a way of checking for a stack overflow using just an ICD?. I want to be absolutely sure that my program is not overflowing the stack. I have checked all the code and mapped out what I think are the worst-case scenarios (nested calls) and included the extra one level required by the ICD itself. It would also be nice if I could view the stack contents to see where the code has been when something goes wrong... Has someone already been down this road? Thanks, David -- http://www.piclist.com hint: PICList Posts must start with ONE topic: "[PIC]:","[SX]:","[AVR]:" =uP ONLY! "[EE]:","[OT]:" =Other "[BUY]:","[AD]:" =Ads