This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 133159 - No output for watch expression
Summary: No output for watch expression
Status: RESOLVED INVALID
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: _ sandipchitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-18 02:23 UTC by _ krystyna
Modified: 2008-04-25 12:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project zip (17.64 KB, application/x-compressed)
2008-04-18 02:24 UTC, _ krystyna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ krystyna 2008-04-18 02:23:29 UTC
Build #180 - thursday afternoon

Attaching project to demonstrate.

Delete all previous watches and breakpoints and restart IDE

1. set breakpoint on line 14 of test.html of attached project line: a = "Hello from head";
2. run debug project
3. set new watch expression 
   a + b 
4. click on link in browser "script in head"
5. start stepping and watch expression 
6. ok the alert that comes up
>expect watch to update to "Hello from head2"
but stays at "<Uknown in current context>"

watch expression works correctly in firebug.
Comment 1 _ krystyna 2008-04-18 02:24:14 UTC
Created attachment 60384 [details]
project zip
Comment 2 _ krystyna 2008-04-23 19:39:21 UTC
Joelle evaluated this yesterday. We found that in this test case, firebug 
does not recognize that it has gone out of scope. Adding another statement
to the script and stepping proves this. 

Closing.