简体   繁体   中英

Suspending Threads while Debugging Java Application IntelliJ

I'm debugging a multi-threaded Java application in IntelliJ. I want to suspend all threads on some breakpoint and resume only selected thread while I step-over the code. I can suspend all threads on a breakpoint, but when I step-over the code from one thread, others are also running. Is it possible to do so?

Thanks in advance for the help!

There's a setting exactly for this here: Preferences | Build, Execution, Deployment | Debugger | Stepping - Resume only the current thread

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