[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[platform-debug-dev] How can I implement a listener for the termination of a RuntimeProcess
|
- From: Gabriel Petrovay <gabipetrovay@xxxxxxxxx>
- Date: Thu, 30 Jul 2009 18:22:47 +0200
- Delivered-to: platform-debug-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=YeMcqa7q+7lqkakIrLWl9BCMn7awt2Dk3t+0pVkkbMY=; b=DbkRiLxKjDnjnXWPORoUKNTof7tYNDeLXgdhW4TNl6xMJ8BJ2jV+tL/+GwHeXCojVO eqOu4cr53eqogYcAc0h/Zc+MfVea8c3zFGDcx8JE9q8Ep5NBvxNUCKrgEBdCna4hGnz4 zaZRgQQ92HZJmPUtZWQFaeBhmwamFjiDoq4+M=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=fPxsMuWz5kZFewbYU/Lkggpuv43LDZ3sxHk0r4olW9XSJhZnya9FfT8Groqys651NE 4j52b7uoYJrQCGfTuQHjwrA785+Eqa3FiUypY7AuPt9tZhLf1ZxJknTvuZI5D4eWCNTl 7vK+aQuRwg3RQN6/KykBx1uJ3aKSNkNfue6AQ=
Hi Darin,
I hope you meant *platform*-debug-dev with "debug-dev". Therefore my
question is now here.
My question was exactly this: why is the IDebugTarget.terminated() not
called anymore when a process is terminated. (Or why doesn't the
TERMINATE event of the IProcess cause an invocation of this method).
It is called for example when an IThread or a Launch is terminated,
but NOT when the IProcess is.
Because of this problem I need such a listener for the IProcess
termination. I haven't found any methods to handle
IDebugEventListener's in either: IProcess, ITerminate or
IDebugElement.
Therefore, what am I missing or how can I listen to the termination of
the IProcess from an IDebugTarget?
Thanks!
Gabriel
--
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com