Didn't try that. Isn't that too overkill? Does it work exactly as a normal debug in eclipse?
On September 12, 2015 9:35:03 PM WEST, Benson Margulies <[email protected]> wrote: >What goes wrong when you add: > >-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 > >to the java command line and then attach from Eclipse? > > >On Sat, Sep 12, 2015 at 3:31 PM, Pedro Domingues ><[email protected]> 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: [email protected] >> For additional commands, e-mail: [email protected] >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] -- Sent from my Android device with K-9 Mail. Please excuse my brevity.

