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.
Summary: | debugger can't stop at the breakpoint when add some code into the jsp | ||
---|---|---|---|
Product: | javaee | Reporter: | difficult <difficult> |
Component: | Debugger | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | pjiricka |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
difficult
2009-06-23 16:06:33 UTC
Hi, which server are you using? And which version/build of NetBeans? Thanks. my server include tomcat 5 ,tomcat6,GlassFish v2.1,GlassFish v3 Prelude and the version of NetBeans include from 6.01- 6.7. I found it's nothing to do with the server,it my be the bug of NetBeans。 for example,in the jsp file have the following only scriptlet code.(the test entironment is Netbeans 6.7 and GlassFish v2.1) <% String s="test"; out.println(s); %> and I set the breakpoint at the line of "out.println(s)",and visit the jsp,the debugger stop at the right location. then,I change the code as following,visit the jsp again. <% String s = "test"; int i=0; out.println(s); out.println(i); %> the debugger stop at the line of "out.println(i)" ,and can't evaluate the value of variable i. if I restart the server,the debugger becomes rightly. Reproduced. This is actually a duplicate of bug #167353. The changed code is deployed to the server, but debugger is not aware of that. *** This bug has been marked as a duplicate of bug 167353 *** |