[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] How to Debug with org.eclipse.osgi.jar

The easiest way to debug the Equinox Framework is to use the "OSGi Framework" launch configuration under Run->Open Run Dialog ...

See http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html for documentation on configuration options.

Tom



Inactive hide details for "黄飞" ---10/06/2007 07:37:57 AM---equinox-dev,hi!"黄飞" ---10/06/2007 07:37:57 AM---equinox-dev,hi!


From:

"黄飞" <flymnm@xxxxxxx>

To:

"equinox-dev" <equinox-dev@xxxxxxxxxxx>

Date:

10/06/2007 07:37 AM

Subject:

[equinox-dev] How to Debug with org.eclipse.osgi.jar




equinox-dev,hi!

  I would like to study the eqinox framework,so i import the plugin org.eclipse.osgi_3.3.0.v20061213.jar as source project, but when i debug the project,
debugging failed then on :

org.eclipse.osgi Startup error
java.lang.NullPointerException
at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:124)
at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:174)
at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:147)
at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.java:90)
at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:278)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:166)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:143)
Exception in thread "main" java.lang.NullPointerException
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:212)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:143)

So, again my question: how should I go about debugging equinox as standalone osgi framework, and where can I get some knowledge about all the stuff like different start configs, properties, hooks, storage organization and so.

Regards

2007-10-06
              
--------------------------------------------------
Fei Huang
Technology Center for Software Engineering
Institute of Software, Chinese Academy of Sciences
P.O.Box 8718, Beijing 100080, China
Email:flymnm@xxxxxxx              
               

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

GIF image

GIF image