Debugger continues processing even after stop

Answered

Hello,

I'm facing with a very strange issue.
When I'm debugging and I put a breakpoint, the debugger stops at that breakpoint (everything is working well).

But if now I press the stop button (to stop the debugger and close the application) the debugger doesn't stop to process immediately but it continues to work for a little bit.
Today I noticed that because I put a breakpoint just before a query execution to check a value and when I stopped the application (I didn't want to execute the query) the debugger continued a bit and it executed the query.

How could I make the debugger stops immediately when I press the stop button?
Thank you and best regards

Denis

1
5 comments

Hello,

Please enable "Kill the debug process immediately" option in "Settings (Preferences)| Build, Execution, Deployment | Debugger"

-1

Hello,

thank you very much.

Best regards

0

You are welcome!

0
Avatar
Permanently deleted user

Hello, 

Sorry to dig up this little question but I just fell into the same issue. The fix work fine but I can't stop to wonder why this option is not by default ? Isn't that the default behavior expected by many of us ?

Best regards

0

Please follow IDEA-164593 regarding the default state of this option.

0

Please sign in to leave a comment.