Wish Anti-Breakpoints

Discussion in 'Bugs & wishlist' started by Rob Bliss, Jul 5, 2018.

  1. Rob Bliss

    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
  2. JohnCody

    JohnCody Well-Known 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.
  3. Rob Bliss

    Rob Bliss Member Licensed User

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

    Sandman Well-Known Member Licensed User

    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.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice