Closed
Bug 1539142
Opened 6 years ago
Closed 6 years ago
Log point can't access original variables
Categories
(DevTools :: Debugger, enhancement)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1536857
People
(Reporter: Honza, Unassigned)
Details
It looks like a logpoint expression can't access variables from the original scope (it seems that it can only access generated variables).
Reporter | ||
Comment 1•6 years ago
•
|
||
STR:
- Load http://janodvarko.cz/tests/bugzilla/1539142/
- Open webpack/src/App.js
- Create a logpoint with the following expression:
sum
(it's a function imported and available in the scope) - Click
Click Me
button on the page - Watch the Console panel:
sum is not defined
Note that logging _foo.sum
works (available in generated scope)
Honza
Comment 2•6 years ago
|
||
this looks like a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1536857
Reporter | ||
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•