How to disable a programmatical breakpoint / assert?
问题 I am using Visual Studio, developing a native application, I have a programmatical breakpoint (assert) in my code placed using __asm int 3 or __debugbreak. Sometimes when I hit it, I would like to disable it so that successive hits in the same debugging session no longer break into the debugger. How can I do this? 回答1: x86 / x64 Assuming you are writing x86/x64 application, write following in your watch window: x86: *(char *)eip,x x64: *(char *)rip,x You should see a value 0xcc, which is