Closed Bug 277364 Opened 20 years ago Closed 19 years ago

Add Watch Expression ... Doesn't Work (Venkman 0.9.84)

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: johnny_bentley, Assigned: rginda)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Can't add a watch with "Add Watch Expression..." via the shortcut menut. However, Adding a watch expression via the interactive session, for example "/watch-expr i", does work. Reproducible: Always Steps to Reproduce: 1. Create A breakpoint, reload web page, and wait for break in execution. 2. Right click in the Watches window and choose "Add Watch Expression..." 3. Enter a variable, eg "i" 4. Press OK. Actual Results: Internal error dispatching command “watch-expr”. ReferenceError: treeView is not defined @ <chrome://venkman/content/venkman-views.js> 123 Expected Results: The variable to be added to the Watch window. This bug appears in Venkman 0.9.94. In 0.9.80 (from Mozilla 1.6) there was no corresponding bug: I was able to "Add Watch Expression..." via the shortcut menu.
There is no 0.9.94 that I'm aware of, 0.9.84 is the most recent, and it's for firefox only. Does 0.9.83 (the latest venkman for mozilla) work?
(In reply to comment #1) > There is no 0.9.94 that I'm aware of, 0.9.84 is the most recent, and it's for > firefox only. Yes. Sorry, typo. Was experiencing bug in 0.9.84 for FireFox 1.0. > Does 0.9.83 (the latest venkman for mozilla) work? Not inclined to dowload 0.9.83 just to test this bug. I'm not being grumpy here, just I've got limited time at the moment. Suggest you try "Add Watch Expression..." on whatever latest build you prefer to debug 0.9.83 or 0.9.84, on any simple test page. Works for you? Thanks, by the way, for your, and all other's, efforts on a truly superb javascript debugger.
Summary: Add Watch Expression ... Doesn't Work (Venkman 0.9.94) → Add Watch Expression ... Doesn't Work (Venkman 0.9.84)
when trying to add a watch, the following exception gets thrown: ReferenceError: treeView is not defined @ <chrome://venkman/content/venkman-views.js> 127 I tested this on Venkman version 0.9.85
I can add watches fine in Venkman 0.9.87 on Firefox trunk, both when paused and when not. Reporter, can you still reproduce this? If so, we'll need more precise steps.
I can now add watches fine too, when paused or not. (Venkman version 0.9.87 & Firefox 1.5.0.4)
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.