- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can you set up the debugger to sense when a variable changes value (I am trying to locate overwriting of memory)?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - anthonyrichards
How can you set up the debugger to sense when a variable changes value (I am trying to locate overwriting of memory)?
(1) in a watch window find the address of the variable with loc(variable-name) (right click to get hex display of address)
(2) From the menus Debug->New Breakpoint->New Data Breakpoint and put in the address of the variable.
Les
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - anthonyrichards
How can you set up the debugger to sense when a variable changes value (I am trying to locate overwriting of memory)?
(1) in a watch window find the address of the variable with loc(variable-name) (right click to get hex display of address)
(2) From the menus Debug->New Breakpoint->New Data Breakpoint and put in the address of the variable.
Les
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Les Neilson
(1) in a watch window find the address of the variable with loc(variable-name) (right click to get hex display of address)
(2) From the menus Debug->New Breakpoint->New Data Breakpoint and put in the address of the variable.
Les
Thanks, Les.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page