Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318968

Summary: PHPLaunch should remain running as long as link with debugger is open
Product: z_Archived Reporter: Jacek Pospychala <jacek.pospychala>
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
patch v1 none

Description Jacek Pospychala CLA 2010-07-06 04:30:48 EDT
Right now, PHPLaunch is turning to terminated state (PHPLaunch.isTerminated() returns true) immediately when starting. However it keeps an open connection waiting for remote debuggers.
It becomes running when remote debugger connects, usually on first breakpoint/"stop on first line".

This is unusual behavior for few reasons. It misleads users - something that they have just started pretends to be terminated. Eclipse debug ui may accidentally remove such "terminated" session when starting other debug session (e.g. java).

Currently it was used to simplify managing PHP launch configs. Every new launch removed all previous.
Comment 1 Jacek Pospychala CLA 2010-07-06 04:54:39 EDT
Created attachment 173511 [details]
patch v1

workaround to keep PHPLaunch running for a while.
Comment 2 Jacek Pospychala CLA 2010-07-06 05:57:09 EDT
I committed patch v1 to the branch, which should solve one of issues in our adpoter product, however I'm leaving this bug open until final solution arrives.