0

Shouldn't Firefox debugger give me the value of a variable that is going to be used in the current line? Why isn't it?

screenshot

As you can see, both paisH and lat0 (global variables) are going to be used right now to calculate lat. Then why aren't they available at the Watch expressions window?

I'm using Firefox Quantum 60.8.0esr (64-bit) on Debian 9.

Rodrigo
  • 4,706
  • 6
  • 51
  • 94

1 Answers1

1

Without details, this is a duplicate of Why are my watch expressions (unavailable) in Firefox debugger?

I see you're using an old version of Firefox and in https://bugzilla.mozilla.org/show_bug.cgi?id=1446684 someone notes that a similar problem was fixed after Firefox 61.

Nickolay
  • 31,095
  • 13
  • 107
  • 185
  • The linked question seems to be about scope (though there's no accepted answer). In my question the variables are global. – Rodrigo Jul 29 '19 at 23:20