Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

572 Good

About xEricx

  • Rank
    Advanced Member

Personal Information

  1. xEricx


  2. xEricx

    Debugging - Knowing when a variable changes

    Yep, that's I've always been doing, but I was wondering if it was possible to watch for all the members of a struct, with one single breakpoint. It must be possible to somehow specify a sizeof for the address specified and to have the debugger watch for this range of memory addresses for changes... Thanks for the input though, I should have mentionned it :) Cheers Eric
  3. 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
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!