Issue
Breakpoints are being hit in the Java code, the project is being run as Debug, "Skip All Breakpoints" is disabled, line breakpoints (blue dots) are on lines in my JSP pages.
src="https://i.stack.imgur.com/E7V2s.png" alt="JSP page with breakpoint">
The result in the web browser debug, so I know it's hitting the right page:
Why are my breakpoints on JSP pages not being hit? I'm having no issue making changes and seeing them reflected in the browser. Eclipse 4.6.2. WebSphere 8.5
Edit: I'm not sure if this is related. When I try to start my server in Eclipse it says
Cannot connect to the server process. Make sure the server is already started.
to get it to start in Eclipse I have to double click the server and uncheck:
Start a server with a generated script
Solution
Found a workaround. In the JSP, import a Java class and call one of it's methods. Put a breakpoint at the end of that method and step through it (F5) into the JSP.
Answered By - Philip Rego
Answer Checked By - Robin (JavaFixing Admin)