7

This happens recently in my Chrome's source panel. It used to work just fine. Not sure if that's causing by the recent update of Chrome (I'm currently using 68.0.3440.106 (Official Build) (64-bit) on macOS High Sierra 10.13.6)

enter image description here

As you can see in the screenshot, these are all the locations that I can set breakpoints in this file. Normally, you can at least set breakpoints at line 6-10 but now, I can only set at line 8. Why?

Anyone who is also experiencing this?

Update: This also happens on my Windows machine with the same 68.0.3440.106 Build.

Joshua
  • 3,055
  • 3
  • 22
  • 37
  • A temp workaround for this is to use `debugger` statement in your source code. It works as expected but just not that easy to change and move around. And you have to remember to remove it from your source code when shipping to prod env. – Joshua Aug 17 '18 at 03:05
  • Could it be source maps getting out of sync? See [this thread](https://stackoverflow.com/questions/35278193/chrome-devtools-wont-let-me-set-breakpoints-on-certain-lines) – Fran Rodriguez Oct 11 '18 at 12:42

0 Answers0