[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: debugging interfaces

Darin,

Thanks very much for that, any idea when 2.1 will be on the shelves?

Eoin

Darin Swanson wrote:
In the latest 2.1 integration builds, if a variable's concrete
(implementation) type differs from its declared type,
there are context menu actions in the variables view to open the two
different types.

In 2.0 builds and greater, if you select your "bag" variable in the
variables view, and use the context menu to invoke
the "Inspect" action, you can look at all of the members associated with
that variable.

Hope this helps
Darins

"Eoin Lane" <eoin@xxxxxxxxxxxx> wrote in message
news:3D7F8F0E.5060403@xxxxxxxxxxxxxxx

I have a question about debugging interfaces in eclipse. If I set a
break point at the following line:

ICollection bag = factor.getResult();

Since ICollection is an interface and factor.getResult() can return an
implementation of this interface. However when debugging how can I tell
 eclipse debugger which of the implementation of the ICollection
interface I am using in this instance, inorder to inspect the properties
of the concrete implementation.

Thanks,

Eoin

_______________________________
Eoin Lane, PhD
http://www.eoinlane.com/
_______________________________