Reputation: 133
Delphi 10.1 Berlin/ Windows 10 x64
My Google-Fu isn't finding this.
"Add Data Breakpoint" requires an address, how do I find it? The default address is $0, and I can't figure how to get the address of the variable I want to watch? I tried highlighting the variable, and then requesting data breakpoint, but no: nothing.
Any help would be appreciated! Thanks!
Upvotes: 1
Views: 202
Reputation: 613481
Suppose the variable is named Foo
. Open the evaluate expression window (CTRL+F7) and evaluate @Foo
. This is the address of the variable and what you need to supply for the data breakpoint.
Upvotes: 3