0

When I open Chrome Dev Tools and I set a breakpoint in the sources panel, upon pausing at the breakpoint, Chrome tells me that the variable in question is undefined.

But when I type that variable into the console, (while still paused on the breakpoint) I get the correct value as expected.

Why is this happening?

I've made a GIF to illustrate the problem

Chrome Dev Tools undefined issue

CodyBugstein
  • 21,984
  • 61
  • 207
  • 363

0 Answers0