How can I get CPU profiler output if want to let my program run to its end?

Por: hong zhao

Resumen: Checking VM cannot exit will resolve the problem


Question:

How can I get CPU profiler output if want to let my program run to its end?
 
Answer:

Please go to: File | Edit Settings | Startup tab and check: VM cannot exit, it'll disable the method System.exit() in the virtual machine. You can use the Stop button to exit the program when your testing is complete.
 

Respuesta del Servidor desde: ETNASC01