简体   繁体   English

如何在Eclipse调试器下运行RCP 4.x应用程序?

[英]How to run RCP 4.x application under Eclipse debugger?

I have created simple nearly empty Eclipse 4 application, which XMI looks approximately following way: 我创建了一个简单的几乎为空的Eclipse 4应用程序,该XMI看起来大致如下:

在此处输入图片说明

If I export this project as Plug-in Development -> Eclipse Product and run eclipse.exe from inside destination directory, I get two empty windows: 如果我将此项目exportPlug-in Development -> Eclipse Product并从目标目录中运行eclipse.exeeclipse.exe得到两个空窗口:

在此处输入图片说明

Which looks like as expected. 看起来像预期的那样。

Now how to run the same from under Eclipse debugger? 现在如何从Eclipse调试器下运行相同的文件? If I select Debug As -> Eclipse Application I get some separate eclipse running with some panels, and even I am able to create Hello World java project under it and run it. 如果我选择Debug As -> Eclipse Application我会在某些面板上运行一些单独的Eclipse,甚至可以在其下创建Hello World Java项目并运行它。

Where are my two windows? 我的两个窗户在哪里?

And how to get rid of all excess stuff? 以及如何摆脱所有多余的东西?

在应用程序的“ Debug Configuration ,将“程序”设置为Program to RunRun a product然后选择产品ID。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM