Wish Anti-Breakpoints

Rob Bliss

Member
Licensed User
It would be nice if there were a way to omit specific lines/functions from being included as you're stepping through in debug mode.

For example, it would make debugging so much quicker if functions triggered by some kind of listener (batteryChanged comes to mind) could be told to do what they are doing without stopping for the debugger
 

JohnC

Expert
Licensed User
Longtime User
I like this idea, but this can be potentially counter-productive because it may be that the cause of a problem are those unexpected triggering of events so if you hide them, it could drive you nuts trying to debug a problem.
 

Rob Bliss

Member
Licensed User
I like this idea, but this can be potentially counter-productive because it may be that the cause of a problem are those unexpected triggering of events so if you hide them, it could drive you nuts trying to debug a problem.

Agreed, it could, but that's part of the risk you'd take when you would use it
 

Sandman

Expert
Licensed User
Longtime User
It would be nice if there were a way to omit specific lines/functions from being included as you're stepping through in debug mode.

That's pretty standard in web development, when working with JavaScript. When you're debugging your code in the browser, you're probably very interested instepping through the code you wrote, but you have no wish to step into the code of jQuery (or whatever you're using). So there's an option to specify just about anything as a black box that doesn't get stepped into.
 
Top