Hi, you should investigate "remote debug" with Eclipse which involves starting Java with some parameters and creating a Debug Configuration in Eclipse.
> On 12 Sep 2015, at 20:31, Pedro Domingues <pedro.doming...@ist.utl.pt> wrote: > > Hi, > > I really need to debug my code by the use of breakpoints, however this seems > a complex undertaking with an OSGi container. > > I have Eclipse and Felix (both the latest). My project is a raw OSGi project, > I am not using PDE, just maven bundle plugin to generate the bundles and then > copy them to the /bundle folder in felix, then I perform java -jar > bin/felix.jar and the project runs. So no fuss here. > > However I cannot debug the application that way. I've tried to read the docs > (http://felix.apache.org/documentation/development/integrating-felix-with-eclipse.html) > but they are outdated/broken and cant make them work... > > How can I debug this? Will I have to avoid using OSGi just because debug is > not supported...? :( > > Thanks! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org