Fix the debugger so that I can actually see variables in the code I'm debugging
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
People
(Reporter: noah.romer, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0
Steps to reproduce:
Open JS code in the Dev Tools debugger. Set break points. Try to check values of variables used in that code (often in the line the break point is used at).
Actual results:
The variables all say either that they have been optimized away (on the line where they're used, even) or are functions instead of the plain objects they actually are.
Expected results:
I should be able to see the contents of the variables that are in scope for the code.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Debugger' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
HI Noah,
Thanks for reporting! We have a couple of issues relating to this, we might look into at some point.
Do you have a clear specific test case we can reproduce the issue. It would really be helpful for fixes.
Thanks.
Reporter | ||
Comment 3•2 years ago
|
||
I don't have code I can attach, as this is for internal web apps. These are written using react 16 and use webpack 5, if that's helpful. I used to be able to use the devtools debugger (within the past year) to get some visibility into running code, but something's changed and now I'm reduced to adding console.log's all over the place to get insight into what's going on, like some sort of savage. :|
Comment 4•2 years ago
|
||
We might duplicate this against bug 1590588,
I used to be able to use the devtools debugger (within the past year) to get some visibility into running code, but something's changed
Do you remember when / which FF version this used to work? Maybe you could run mozregression if you have good local steps to reproduce
Comment 5•1 years ago
|
||
A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Closing the bug as incomplete.
For more information, please visit BugBot documentation.
Description
•