DevTools hover over variable gives wrong information
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
People
(Reporter: peter, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0
Steps to reproduce:
In Devtools, hover over variable during breakpoint.
Actual results:
Pop-up variable information reports on variable on line below cursor.
Expected results:
Pop-up should show information on variable under cursor.
Reporter | ||
Comment 1•3 years ago
|
||
It appears to be the step information inserted between lines 218 and 219 that is confusing the issue.
If I enter something in the console, then return to hover over the line, the information is displayed correctly.
Reporter | ||
Comment 2•3 years ago
|
||
Reporter | ||
Comment 3•3 years ago
|
||
Reporter | ||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
Thanks for reporting!
We have lots of issues around debugger tooltips.
Can you add a specific STR with some page if possible, this would be useful when fixing .
Thanks
Reporter | ||
Comment 5•3 years ago
|
||
I don't know what an STR is.
Solution is to switch off the "Inline Variable Preview" option in the Debugger.
Surely that should be enough clue as to the source of the error.
Comment 6•3 years ago
|
||
The severity field is not set for this bug.
:bomsy, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 7•3 years ago
|
||
(In reply to Peter Brand from comment #5)
Hi Peter, Thanks for your reply.
I don't know what an STR is.
An STR is just the steps you used to reproduce the issue.
If you have, this would be really helpful in enabling us investigate and confirm the issue when it is fixed.
Solution is to switch off the "Inline Variable Preview" option in the Debugger.
Surely that should be enough clue as to the source of the error.
Yes... this gives and idea of what the general area we need to fix, but there are various specific flavours
of this issue. We can also confirm if a duplicate bug has been reported of the same issue.
Thanks
Updated•3 years ago
|
Reporter | ||
Comment 8•3 years ago
|
||
Steps to reproduce:
On some page, press F12 to open Devtools
Switch to Debugger tab.
Click settings icon, enable Inline Variable Preview
Set breakpoint, step thru code
Step over code line as in screenshot.
Observe the Inline Variable Preview doing its thing.
Hover mouse over variable on another line - bug is then evident.
Reporter | ||
Comment 9•3 years ago
|
||
Incidently, while viewing the Debugger tab on this page:
Uncaught TypeError: this.priority is null
SeverityS1PriorityP1 https://bugzilla.mozilla.org/static/v20220406.1/extensions/MozChangeField/web/js/severity-s1-priority-p1.js:24
<anonymous> https://bugzilla.mozilla.org/static/v20220406.1/extensions/MozChangeField/web/js/severity-s1-priority-p1.js:50
EventListener.handleEvent* https://bugzilla.mozilla.org/static/v20220406.1/extensions/MozChangeField/web/js/severity-s1-priority-p1.js:48
line 24 is
this.pri_orig_title = this.priority.title;
(third line of constructor method)
Updated•3 years ago
|
Updated•2 years ago
|
Comment 10•2 years ago
|
||
This likely relates to Bug 1815472 where wrapping of really long lines breaks the tooltip previews.
Comment 11•1 year ago
|
||
Fixed by Bug 1815472
Description
•