0
我們如何調試基於GEF的Eclipse插件?目前,我有一個Activator
類和從Example自定義編輯器。然而,我無法找到任何插件的輸出。我嘗試使用「在調試模式下啓動Eclipse」並在Activator
構造函數方法中設置斷點,但未發現任何調試活動。
任何人都可以請指導如何進行調試?
附加信息:
這裏是跟蹤我在調試窗口得到:
org.eclipse.equinox.launcher.Main at localhost:1708
Thread [main] (Running)
Daemon Thread [State Data Manager] (Running)
Daemon Thread [Start Level Event Dispatcher] (Running)
Daemon Thread [Framework Event Dispatcher] (Running)
Daemon Thread [[Timer] - Main Queue Handler] (Running)
Daemon Thread [[ThreadPool Manager] - Idle Thread] (Running)
Thread [Worker-JM] (Running)
Daemon Thread [Bundle File Closer] (Running)
Thread [Worker-0] (Running)
Daemon Thread [Java indexing] (Running)
Thread [Worker-1] (Running)
Thread [Worker-3] (Running)
Thread [Worker-2] (Running)
Thread [Worker-4] (Running)
Thread [Worker-5] (Running)
但我沒有找到步到啓動等選項。調試模式中唯一可用的選項是掛起和終止。這個過程不會停留在我設定的斷點處。
這裏是MANIFEST.MF:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Project1
Bundle-SymbolicName: mypackage.plugin1;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: mypackage.plugin1.MyPlugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.draw2d;bundle-version="3.6.1",
org.eclipse.gef;bundle-version="3.6.1"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6