Solution to problems in tomcat debugging mode: tomcat debugging
In most cases, you can cancel the breakpoint to solve problems in the debugging mode.
There are two common problems that can be solved by canceling the breakpoint later.
1. the debugging mode is too slow to start.
Check whether there are too many breakpoints. We recommend that you cancel unnecessary breakpoints in time.
2. Normal mode can be started, but debugging mode cannot be started
It may also be caused by a breakpoint. Sometimes this happens when only one breakpoint exists ...... When the debugging mode is started, an error may occur when reading the file. eclipse automatically adds a breakpoint and reports an error or gets stuck ......
How to cancel a breakpoint: Open the Breakpoints window, right-click it, and choose remove all (in fact, it is also possible to cancel the check before the breakpoint, but it is estimated that it will be very tired when there are many Breakpoints ......)
Window Opening Method: Myeclipse/eclipse -----> window --------> show view --> breakpoints
If it cannot be run, you can try to clean the servers or project before trying to cancel the breakpoint.
If none of the above methods can solve the problem, try the following methods:
Open the debug window
Right-click the project and select edit Source Lookup.
Remove the current project, Add JavaProject, reload the project once, and restart
If not ...... Just reconfigure it ......
To configure tomcat, follow these steps: