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.
set a breakpoint on the jsp,and debug it,then add some code before the breakpoint.when debug again,the programe hangs at the wrong location ,not at the breakpoint.
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 ***