Declarative Services, Exceptions and Eclipse PDE

Problem

When using declarative services in a bundle, which is started in eclipse PDE, usually exceptions occurring ‚inside‘ the services are not traced in the the usual output window. This can be especially daunting for frequent ClassNotFound exceptions.

Solution

In the run configuration window in eclipse is a tab „tracing“. This can be enabled for the „equinox.ds“ package and exceptions will be shown in the eclipse output window.

bildschirmfoto2010-08-20um18-09-20.png

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s