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 52489 - Debugger doesn't stop at breakpoint in JSP in folder
Summary: Debugger doesn't stop at breakpoint in JSP in folder
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-15 13:36 UTC by Jiri Skrivanek
Modified: 2006-03-24 10:02 UTC (History)
0 users

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 Jiri Skrivanek 2004-12-15 13:36:02 UTC
Debugger doesn't stop at breakpoint when you debug
JSP in a folder. To reproduce:

- create a web application
- under Web Pages create a new folder
- in the new folder create a new JSP
- add breakpoint to the JSP
- start debugger by Run->Run Other->Debug "...jsp"
=> debugger is started but it doesn't stop at
breakpoint

Build 200412141900, JDK1.5.0_01, WindowsXP,
SJSAppServer PE 8.1 2005Q1.
Comment 1 L Martinek 2004-12-16 12:46:47 UTC
I found out that this bug has some relation with appserver. Only
breakpoints which was created while appserver was set as target server
don't work.

1. Create web application and create JSP in folder. 
2. Set tomcat as target server. Put a breakpoint to JSP.
3. Start debugger. It works and dubugger stops on breakpoint.
4. Finish debugger and change target server to appserver.
5. Start debugger. Now it works too. Put a new breakpoint. This new
breakpoint doesn't work.
6. Finish debugger and change target server back to tomcat.
7. Start debugger. Only first breakpoint works, breakpoint created in
step 5 doesn't work.
Comment 2 _ ludo 2004-12-16 16:49:15 UTC
working on it. Fix soon
Comment 3 _ ludo 2004-12-17 00:57:05 UTC
should be fixed I think now...
You still need to activate the JSP after deployment to have the app
server generating the servlet.
Comment 4 Jiri Skrivanek 2004-12-21 10:29:21 UTC
Verified in build 20041221-0916.