3

Disclaimer: I don't have IDA available to try it out right now, so a detail might be wrong. Just add some code to the breakpoint condition. For example extern bpcount; bpcount++; Message(form("%d. hit\n"), bpcount); return (bpcount>500); This will increment the count each time the breakpoint is it, but only break the program after more than 500 hits. ...


2

Apparently IDA 7.0 (and earlier?) supports a "pass count" for a breakpoint, you can even see a column for that in the breakpoint list window, but I found no way to configure it via the UI. You can use the following Python commands to create a breakpoint with a pass count though, where 0x12345678 is the address at which you want to set it, and 42 the hit ...


Only top voted, non community-wiki answers of a minimum length are eligible