Show TOC

Memory Monitoring with WatchpointsLocate this document in the navigation structure

Use

You can use watchpoints to display changes to the references of strings, data and object references, and internal tables. By placing an ampersand ( &) in front of the object name, you can display the reference in question in hexadecimal format. With internal tables, you can also display the table header by placing an asterisk ( *) at the beginning of the name.

&objectname

Displays the references of strings, internal tables, as well as data and object references

*itab

Displays the table header of the internal table itab

Example

If a watchpoint is set for the object in question at runtime, the program is stopped as soon as the reference is changed. A short dump can be intercepted in this way to stop the program being terminated when the memory is overwritten.