debugger icon indicating copy to clipboard operation
debugger copied to clipboard

[Breakpoints] Conditional breakpoint not pausing properly and throwing error

Open anthonyx opened this issue 7 years ago • 1 comments

I'm encountering an error when dealing with conditional breakpoints after the latest updates on the debugger. I will set a conditional breakpoint on a piece of code and whenever the code where that breakpoint is set runs, it will log an error. This happens regardless of whether the conditional breakpoint statement is true or false.

Steps to reproduce:

  • yarn start and open debugger with latest updates
  • launch another instance of firefox to inspect and go to http://todomvc.com/examples/jquery/#/all
  • within the debugger, set conditional breakpoint within create method at line 135 of app.js, I used the expression e.key === "t"
  • on the todomvc page, type anything within the input box for new todos

Expected result:

  • Code will pause only when the specified key, "t", is pressed

Actual result:

  • Code pauses regardless of key pressed
  • Error is thrown

What I'm seeing: screen shot 2019-02-07 at 12 43 45 pm

Error thrown: screen shot 2019-02-07 at 12 40 00 pm


anthonyx avatar Feb 07 '19 20:02 anthonyx

Apologies, this was an issue with my machine. Closing this.

anthonyx avatar Feb 07 '19 21:02 anthonyx