How do I set a breakpoint in a Java Server page (.jsp)?
667263Nov 25 2008 — edited Dec 9 2008I have set up an application for remote debugging and am able to connect to it from JDeveloper. When the code execution comes to breakpoints that I have set in java (.java) files they work and the application stops so I can debug etc.
This also applies to breakpoints set in java code that is called from Java Server pages.
However if I set breakpoints directly in a java server page whether it is in html code or in java code (such as scriplets) the execution does not stop and the breakpoints are ignored.
Why? Is there some extra thing I have to do? I have tried in Project Properties/Run/Debug/Profile/Edit/Launch Settings to choose server as Virtual Machine for instance but that does not change anything.
Comment. I do not know if this is of interest but I am going to add some java server pages to an application and they are defined in a directory like this:
. . . src\org\yawlfoundation\yawl\resourcing\jsf\jsp
but when the tomcat deploys the .war file they end up here:
. . . apache-tomcat-6.0.18\webapps\resourceService
As I can find no package declaration in a .jsp file this should not matter but I mention it anyway.
Edited by: user10477024 on Nov 25, 2008 5:32 AM