This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. Install "JavaScript Debugger" plugin. 2. Create a web application with JavaScript code. 3. Debug the application. 4. Set a breakpoint and customize it: set 'hit count' to 3. Notice that in drop down 'is greater than' is chosen. 5. Do an action, which invoke code with breakpoint, 3 times. Result: Debugger suspends on third time. Do the action, which invoke code with breakpoint, again. Debugger suspends again. If it is necessary to stop on the breakpoint, when hit count is greater than 3, again, customer needs to remove and add and customize breakpoint again. Need some mechanism to reset hit count or something like this.
This can be achieved by toggling the breakpoint 'Enabled' state. Bring up Window -> Debugging -> Breakpoints, find your conditional breakpoint, deselect 'Enabled' checkbox, and enable it again whenever you need it, the condition (in your case, the hit count) will be re-evaluated.
But customer still have to do some additional and not obvious actions. It will be better to have some item like "Reset conditions".
OK, thanks for the suggestion, that's reasonable.
A new implementation of JavaScript debugger is in trunk. Closing old issues.