Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse stop popup "Web launch already running"

Tags:

eclipse

I am developing in PHP with Xdebug and for some reason every now and then the debug session stops working, so i click again the debug button but it gives me this error all the time "Web launch already running", so i have to go to Debug Perspective and click "Terminate and Relaunch".

Is there a way to make eclipse automatically terminate and relaunch or launch two sessions or don't show this popup, for 2 years this popup has been bugging me xD

like image 891
max4ever Avatar asked Jul 23 '12 15:07

max4ever


2 Answers

As noted in response to questions like this one and this one, the best current solution appears to be binding "Terminate and Relaunch" to a keyboard shortcut.

Not automatic, but at least a lot less clicking around.

like image 130
blahdiblah Avatar answered Oct 06 '22 01:10

blahdiblah


I have taken care of pesky popups in Eclipse with AutoHotkey script which have worked very well. I could create an AutoHotkey script which sends specific keystrokes automatically every time there is a specific pop-up.

So the flow I had in mind was as follows : You click on the debug button -> The Error popup appears and as soon as that happens the AutoHotKey script kicks in and automatically does what you have to do manually.

If you think that might be worth looking into then we can talk more in a Chat session somewhere. I would need some information about the Pop up using the AU3_Spy.exe bundled with the AutoHotkey Installer.

like image 41
Ashutosh Jindal Avatar answered Oct 05 '22 23:10

Ashutosh Jindal