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

Summary: No output for watch expression
Product: javascript Reporter: _ krystyna <krystyna>
Component: DebuggerAssignee: _ sandipchitale <sandipchitale>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: project zip

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.