Each time you click the "Run with VisualVM" button on the idea, the first time you cannot open the visualVM, the second time you can open it, but the error "Could not open requested application" will be reported. As long as you click the "Return" button on the idea fast enough, the VisualVM will display the memory of the last closed project; My idea version 2022.2.3;
After reading the idea log, "VisualVMContext is null" will be displayed. The source code has a special judgment on "vmContext", so the log above is available;
Each time you click the "Run with VisualVM" button on the idea, the first time you cannot open the visualVM, the second time you can open it, but the error "Could not open requested application" will be reported. As long as you click the "Return" button on the idea fast enough, the VisualVM will display the memory of the last closed project; My idea version 2022.2.3;
After reading the idea log, "VisualVMContext is null" will be displayed. The source code has a special judgment on "vmContext", so the log above is available;