|
|||||||||||
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. Last Reviewed: Thursday, January 7, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.