Bug 318968 - PHPLaunch should remain running as long as link with debugger is open
Summary: PHPLaunch should remain running as long as link with debugger is open
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Debug CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 04:30 EDT by Jacek Pospychala CLA
Modified: 2020-05-14 10:17 EDT (History)
0 users

See Also:


Attachments
patch v1 (2.64 KB, patch)
2010-07-06 04:54 EDT, Jacek Pospychala CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.