Executing cheksum control in my application fails when the debugger is connected

08-May-2024

Using software breakpoints impacts the checksum result.

The debugger inserts a dedicated “software breakpoint” instruction on addresses where software breakpoints are set. These “software breakpoint” instructions are not visible, e.g. in the Disassembly or Memory Window at software breakpoints addresses. When a software breakpoint is removed, the original instruction is restored in its place.


Possible solution

When performing any kind of checksum in your application, remove all software breakpoints.  

Default hardware breakpoints do not impact the checksum result.


More resources in winIDEA Help

Was this answer helpful?