Feature suggestion: Convenient "on-demand" debugging

Answered

I'd like to propose a feature that lets you

  • start your application in run mode (avoiding the slower execution associated with debug mode)
  • later switch the toolwindow to "debug" mode with a single click (dynamically attaching the debugger and adding the debugger sub-tabs)

I described it in more detail at YouTrack: https://youtrack.jetbrains.com/issue/IDEA-175893

Please vote / comment !

5 comments
Comment actions Permalink

Thanks for the suggestion, responsible developer will review it when he returns from the vacation.

0
Comment actions Permalink

I do not see the bug, was it deleted? Could you describe how and in what cases debug mode affects your execution speed?

0
Comment actions Permalink

If I'm normally running my program (traffic simulator), I get 50 fps. With the debugger on it goes down to 40 fps.

It would be nice being able to start the debugger after a bit, maybe from the code itself with an if statement.

0
Comment actions Permalink

You can try using remote debugging.

1
Comment actions Permalink

Yes, add debug options to your run configuration. Always run. Whenever you need to debug - use attach to process, or remote debug configuration.

0

Please sign in to leave a comment.