Jump to content

  • Log In with Google      Sign In   
  • Create Account

Journal of xEricx



Test

Posted by , 30 April 2006 - - - - - - · 190 views

test


Debugging - Knowing when a variable changes

Posted by , 25 January 2006 - - - - - - · 244 views

This is a short entry to explain what I was talking about in luasitdown's thread about knowing when a variable changes.

Step 1:

Taking the address of the object we want to watch:



Note: I dragged the "Value" of &a as a new watch, to be able to copy paste it.

Step 2:

Adding the new breakpoint that watches the variable's address (WARNING: This can slow things dramatically...)



Step 3:

Notification when the memory is modified:






I didn't get it working on complex structures, but you can most likely find out which member you want to check, and test for its value change.

If anyone knows how to structures, drop me a mail.

Cheers





Recent Entries



PARTNERS