Replies: 1 comment 6 replies
-
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
avengerx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I read at https://help.x64dbg.com/en/latest/introduction/ConditionalBreakpoint.html that once a breakpoint is hit, independently of its condition evaluation,
$breakpointcounter
is incremented.In fact, it does. But I'm seeing something strange when I place a breakpoint in, say, a long
for
loop.0
). I get then 439.437
:$breakpointcounter >= 437
And it nicely broke the execution the second run... I just can't really tell it was right, as now in Breakpoints tab, I read
1079
hits right after setting the new breakpoint condition!If I let the program run again, then it really stops in the breakpoint, but the hit count says 1077. It's as if I reference
$breakpointcounter
in the condition, it increments itself again, or something, as it is not really just double, or a triple value!Then I get confused and let it run until breaks again (condition
0
to never break) and the program reaches its defective code with hit count still 1079. If I set to 1077 or less, it would again break when the unhandled exception triggers.Perhaps there's a more appropriate to break after the 437 hits?
Beta Was this translation helpful? Give feedback.
All reactions