| ||||||||
Technical Support Support Resources Product Information | µVISION DEBUGGER: DETECTING NULL POINTER ASSIGNMENTSInformation in this article applies to:
QUESTIONHow do I check my program for assignments to NULL pointers? ANSWERIt is easy to use the µVision Debugger to check for NULL pointer assignments. The steps to take to detect NULL pointer assignments (and make them less likely to cause problems) are:
The following command: BS READWRITE BYTE(X:0x0000) sets a READ or WRITE access breakpoint on the byte at XDATA memory location 0x0000. When anything reads from or writes to that location, the debugger halts the program. FORUM THREADSThe following Discussion Forum threads may provide information related to this topic. Last Reviewed: Saturday, July 09, 2005 | |||||||
| ||||||||