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 165015 - it's not possible to add a watch while debugging JSP pages
Summary: it's not possible to add a watch while debugging JSP pages
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-05-13 08:58 UTC by Jindrich Sedek
Modified: 2009-05-22 09:14 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2009-05-13 08:58:17 UTC
Create new WebApplication
set breakpoint into index.jsp and invoke debug on index.jsp
server is started, app deploy, debugger stop on breakpoint
show variables view - "Enter new Watch" line is missing - is this intentional?

right click variables window, invoke add Watch - type some expression, press OK -> no Watch is created
while switching debugging into Java class, I can see the watch that I've created in JSP page - it seems watches are not 
shown while debugging JSP pages
Comment 1 Jindrich Sedek 2009-05-13 08:59:45 UTC
I'm trying the same scenario in 6.5.1 -> Watches window was separated from Variables, but it was possible to add a 
watch in JSP page correctly -> it's a regression of 6.7
Comment 2 Petr Jiricka 2009-05-13 10:58:17 UTC
Cc'ing Martin - do you have any ideas, Martin? Thanks.
Comment 3 Martin Entlicher 2009-05-13 12:30:49 UTC
It looks like watches are not added into Variables window at all while debugging JSP. When extra Watches window is
opened (un-toggling "Show watches inside Variables view" button), all watches are shown and work correctly.
Dane, can you please look at this?
Comment 4 Marek Fukala 2009-05-19 14:28:45 UTC
According to an offline talk with dprusa I am reassigning this issue to debugger where the fix potentially needed also
by other debuggers needs to be done. 
Comment 5 Daniel Prusa 2009-05-20 01:14:41 UTC
Fixed.
http://hg.netbeans.org/main/rev/42aee1317fec
Comment 6 Jindrich Sedek 2009-05-22 09:14:12 UTC
verified
NetBeans IDE Dev (Build web-main-673-on-090522)