Disable automatic start recording with IntelliJ Profiler

Answered

I often profile smaller chunks of logic in my application. Thus, I have no need for the profiler to start recording when my application starts. Is there a way to disable the automatic recording?

1
2 comments

How do you run the code? AFAIK, the profiler can only be launched when users run the code with the "run with profiler" option.

 

0
  1. Start your process as normal, with either the Run or Debug launchers. 

  2. Click the “View | Tool Windows | Profiler” option (at least on a Mac), and a list of running processes appears.

  3. Right click on the process you are Running or Debugging, and select “Attach IntelliJ Profiler”. Your process shows up as a new tab in the Profiler window.

  4. Perform the smaller chunk of logic you referred to.
  5. Click the “Stop Profiling and Show Results” button the middle of your process's tab.
0

Please sign in to leave a comment.