2

I'm trying to debug with Firefox 59.0.2. I'm inside a function and most of my watch expressions are "(unavailable)". They have values that sometimes display in the scope tab and will display if I use alert() to echo them to the screen.

What is causing this problem? Is there a scope issue? I think the global scope variables aren't having this issue.

I am not getting any javascript errors in console.

Aaron Kreider
  • 1,705
  • 5
  • 22
  • 44
  • According to https://bugzilla.mozilla.org/show_bug.cgi?id=1446684 a similar issue was fixed after Firefox 61. – Nickolay Jul 29 '19 at 22:59

1 Answers1

0

This is often because you're pausing the debugger at a different point in the call stack than where the variable is in scope. Here's a potential clue.

Philip F
  • 111
  • 3