Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Is ICDITarget.isDisconnected used?

Dobrin,

Please see my comments inline.

----- Original Message ----- From: "Alexiev, Dobrin" <dalexiev@xxxxxx>
To: <cdt-debug-dev@xxxxxxxxxxx>
Sent: Thursday, November 03, 2005 10:23 AM
Subject: [cdt-debug-dev] Is ICDITarget.isDisconnected used?


Hi,

I am implementing a CDI debugger and I was wandering if
ICDITarget.isDisconnected is used.

If not, will it be used in the future or it is deprecated.


This method as well as isTermintated is not used in the current implementation. It is based on the corresponding events. I can't speak about future - we have to wait for the platform changes to make our decisions.



Also,

I noticed that the disconnect button gets enabled only when I select a
target.

If is disabled if I click on a Thread or Stack Frame.

That requires our user to do one more mouse click to select the target,
even though the current selection is a tread or a stack frame from that
target.

It is not a big deal, but if most people think that maybe slight
usability improvement I could file an enhancement and later add a patch
when we fix it.


The "Disconnect" action is based on the IDisconnect interface which is a part of IDebugTarget. The idea behind it is that you can only disconnect a target, not a thread or a stack frame. Of course, we could have made the ICThread or ICStackFrame interfaces to extend IDisconnect, but we decided to be consistent with the platform and JDT.



Thanks

Dobrin







Back to the top