Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditional breakpoint breaks always #2253

tbytedev opened this issue Nov 21, 2019 · 0 comments


Copy link

@tbytedev tbytedev commented Nov 21, 2019

I would like to set up a conditional breakpoint. If the condition evaluates true, the code breaks with int3, and that's fine. If the condition is false it also breaks, but this time with exception 80000003 (EXCEPTION_BREAKPOINT). What I'm trying to achieve is not to break or throw exception if my condition is false. Is there a way to do that? If I disable the breakpoint, it doesn't throw exceptions, just runs fine, so the exception has to do with the conditional breakpoint.

This is my breakpoint setup:
var $dh_inmap
var $dh_nobreak
var $dh_rth
bp 0x7ffcf89a8b10, OnWait
bpcnd 0x7ffcf89a8b10, $dh_inmap == 1 && $dh_nobreak == 0 && $dh_rth == tid()

I don't want to ignore EXCEPTION_BREAKPOINT, because I will need it later.
It looks like that $breakpointexceptionaddress is initially set to the program entry point, and I don't change afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.