Closed Bug 1795764 Opened 2 years ago Closed 1 years ago

Fix the debugger so that I can actually see variables in the code I'm debugging

Categories

(DevTools :: Debugger, defect)

Firefox 105
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

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.

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.

Component: Untriaged → Debugger
Product: Firefox → DevTools
Status: UNCONFIRMED → NEW
Ever confirmed: true
See Also: → 1590588

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.

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. :|

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

Flags: needinfo?(noah.romer)

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.

Status: NEW → RESOLVED
Closed: 1 years ago
Flags: needinfo?(noah.romer)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.