|ARM Technical Support Knowledge Articles|
Applies to: uVision Debugger
Information in this article applies to:
How do I check my program for assignments to NULL pointers?
It is easy to use the uVision 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.
Article last edited on: 2005-07-09 11:32:59
Did you find this article helpful? Yes No
How can we improve this article?