[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[platform-debug-dev] Re: [pde-dev] How can I implement a listener for the termination of a RuntimeProcess
- From: Darin Wright <Darin_Wright@xxxxxxxxxx>
- Date: Wed, 29 Jul 2009 12:14:04 -0500
- Delivered-to: firstname.lastname@example.org
This should be on the debug-dev list, not PDE.
IDebugTarget.terminated() is *not* a notification of termination - it is a
method that terminates the target when called. You can add an
IDebugEventListener to listen to terminate events of debug elements
(processes, targets, threads).
Gabriel Petrovay <gabipetrovay@xxxxxxxxx>
07/29/2009 12:11 PM
[pde-dev] How can I implement a listener for the termination of a
In the Debug View, one can see a Launch having as children an
IDebugTarget and an IProcess.
If I terminate the IDebugTarget, the Launch or any of the IThread's,
the terminate event propagated successfully and all the objects
INCLUDING the IProcess is terminated.
Here is the problem:
But if I terminate the IProcess (this is a RuntimeProcess instance),
the terminated event does not propagate the same way (I have custom
code that must be executed before the IDebugTarget terminates.). So,
even if the Debug View UI shows the labels as "<terminated>" for all
the objects in the hierarchy, the IDebugTarget.terminated() is not
Why is this? Or how can I add a listener to the termination of the
MSc Gabriel Petrovay
pde-dev mailing list