| |||||
Technical Support Support Resources
Product Information | DSCOPE: DETECTING STACK OVERFLOWQUESTIONHow do I check to see if my program is overflowing the stack? ANSWERIt is easy to use the dScope debugger to check if you program overflows the stack. Set a memory access breakpoint at the end of the stack. When your program WRITES to this location (using the PUSH instruction or when a function is CALLed), dScope halts program execution on the line that overflows the stack. The following dScope command: BS WRITE BYTE(D:0x78) sets a WRITE access breakpoint on the byte at data memory location 0x78. When anything writes to that location, dScope halts program execution. SEE ALSO
FORUM THREADSThe following Discussion Forum threads may provide information related to this topic. Last Reviewed: Friday, November 16, 2001 | ||||
| |||||