µVISION DEBUGGER: DETECTING NULL POINTER ASSIGNMENTS
Information in this article applies to:
How do I check my program for assignments to NULL pointers?
It 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.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Saturday, July 9, 2005
of your data.