Closed Bug 1092916 Opened 10 years ago Closed 7 years ago

Adding a variable to the watch pane should show its value as well as its name

Categories

(DevTools :: Debugger, defect)

33 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jmichae3, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20141027150301

Steps to reproduce:

added a variable to watch pane in debugger. it shows the variable name as
>>total



Actual results:

nothing else. that's the problem. it's just acts like a dynamic listbox rather than a watch window.


Expected results:

should show the content and maybe even the available properties and methods of the variable total like the watch pane used to.
Summary: add watch variable to watch doesn't show variable content → add variable to watch doesn't show variable content
Component: Untriaged → Developer Tools: Debugger
Blocks: dbg-frontend
Summary: add variable to watch doesn't show variable content → Adding a variable to the watch pane should show its value as well as its name
this bug is back. tried in 50.0 to add watch
newSuffixStr==str.substr(i,newSuffixLen)
and it cleared all the watch variables.
This still seems to be a problem.
As far as I can tell Watches simply do not work. This makes it substantially less useful than Firebug. 
If there is documentation that explains how this is not a bug, please put a link IN the inspector somewhere people can find it.
This is fixed in the new debugger.  Try it in Firefox 56 or higher.  See here for how it works: https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Set_Watch_Expressions
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
Blocks: 1565711
Blocks: 1565713
No longer blocks: 1565711
No longer blocks: 1565713
You need to log in before you can comment on or make changes to this bug.