I was trying to fix an error on my website in Google Chrome. To view the source of the bug, I clicked on the reference in the Chrome DevTools console. However, the "Source" tab in the developer tools showed the message "Content unavailable. Resource not cached".
I clicked on the reference to the error location in the DevTools console
... then I saw this in the Source tab:
You get this error when you
You can reproduce it using this issue report in the Chromium bug tracker.
Video: https://issues.chromium.org/action/issues/365405774/attachments/59254646?download=true
There seems to be no satisfying way. Workarounds include:
Ctrl/Cmd
+ Alt/Opt
+ U
or Right Click -> View Source
on the page) and manually find the line of the error.I really hope that there will be a more satisfying solution than the slightly better error message introduced in this commit to Chromium. The issue is really rare, but when it happens it is quite annoying that you cannot see the source of your JS errors.