简体   繁体   中英

Application keeps running during debug mode

I'm trying to debug a java application through eclipse. I'm able to do this by starting my Tomcat server in Debug mode, and then the application breaks as expected at the breakpoints I have put. But after some 10-15 seconds, I can see the application continues to run even though it's supposed to be paused at the breakpoint. Is there any way to resolve this? I want the application to stand still at the breakpoint, and not continue until I debug forward line by line.

By default breakpoints suspend the thread.

If you want to fully suspend your application, you can switch to "Suspend VM" in breakpoint properties:

断点属性

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM