Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Adding processes to the launch--synchronization issue?

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Anna Dushistova
> Sent: Monday, January 23, 2012 4:11 AM
> To: CDT General developers list.
> Subject: [cdt-dev] Adding processes to the 
> launch--synchronization issue?
> Hi All,
> In org.eclipse.cdt.launch.remote we add a "remote shell" process to
> the launcher to get the application output.
> This is currently done via DebugPlugin.newProcess(...) method.
> Is there any way to synchronize it somehow with the rest of the
> debugging processes/sessions?
> I am especially interested in terminating the whole launch when
> something happens with the "remote shell" process,
> see and
> Does anyone have any idea?

The java.lang.Process you add to the launch for the remote shell
should override java.lang.Process.destroy() which could then
cleanup the debug session (e.g., call IGDBControl.terminate()).

You can look at MIInferiorProcess.destroy().


> Thanks!
> Anna.
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx

Back to the top