Setting Data Breakpoints

Wedit can stop the program when an address is accessed, either in read or in read/write mode . To enable these special breakpoints, you should choose the ‘Data breakpoints’ option in the debugger menu.

You have up to four data breakpoints (there are only 4 debug registers in the x86 architecture). Enter an address expression or the name of a variable, the size of the variable (only 1,2,or 4 are possible), and the access type. Whether the breakpoint should fire when the variable is accessed (read access) or when the variable is written to (read/write access).

When the breakpoint fires, Wedit will stop the program and display the closest location to the breakpoint in the program. Note that data breakpoints fire after the instruction is executed. If the access is in read/write, Wedit will display the old and the new variable values.