黑莓模拟器在eclipse中的调试/运行的区别 [英] The difference between blackberry simulator for debug/run in eclipse

查看:159
本文介绍了黑莓模拟器在eclipse中的调试/运行的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我点击运行 - >调试配置时,将有3种不同类型的模拟器:

When i click Run -> Debug Configuration there will be a 3 different types of simuator :


  1. 黑莓模拟器

  2. 黑莓设备和

  3. 黑莓模拟器(正在运行)

我应该使用哪一个?

这是图片:

This is the picture :

每次我想在模拟器(f11)​​中调试我的代码,烦人的问题将是出现。这是图片:

And everytime i want to debug my code in the simulator(f11), the annoying question will be appear. This is the picture :

我的问题是:


  1. 哪一个我应该使用吗?

  2. 有什么不同?和

  3. 有什么办法可以让烦人的问题(第二张图片)再次出现吗?

(我不知道第二张照片(对话框)是什么,虽然它一直在问这个问题,但我不能真正选择,因为只有1个选项会顺利运行,而另外2个会出错那么为什么要问?)

(I dont know what the 2nd picture (dialog) is for. Although it keeps asking that question, i cant really choose, because only 1 choice will run smooth while the other 2 will make an error, so why is it asking?).

推荐答案

我也遇到了这些问题。这不是很清楚。

I've had these problems, too. It's not very clear.

基本上, BlackBerry设备将用于在真正的BlackBerry智能手机上运行。要选择这个,显然你必须连接一个BlackBerry智能手机。

Basically, BlackBerry Device would be for running on a real BlackBerry smartphone. To choose this, obviously, you must have a BlackBerry smartphone connected.

至于其他两个,我一直使用 BlackBerry Simulator 。这听起来像是 BlackBerry Simulator(正在运行)将在已经启动的模拟器上运行。但是,根据我的经验,选择 BlackBerry Simulator 通常可以使用,即使模拟器已经启动。但是,尽管Eclipse中有几种方法可以执行此操作(正常的Ec​​lipse 运行/调试菜单, BlackBerry 菜单,或右键单击Eclipse的项目资源管理器),我并不总是很好的成功。

As for the other two, I always use BlackBerry Simulator myself. It sounds like BlackBerry Simulator (running) would be for running on a simulator that has already been started. But, in my experience, choosing BlackBerry Simulator usually works, even if the simulator has already been started. However, although there are several ways to do this within Eclipse (the normal Eclipse Run / Debug menus, the BlackBerry menu, or right clicking on the project in Eclipse's Project Explorer), I haven't always had good success with all of them.

最近(JDE插件1.5.0+),我一直在使用Eclipse Run - > Debug As - > BlackBerry Simulator 选项,或特殊的黑莓插件调试图标:

Recently (JDE plugin 1.5.0+), I have been using the Eclipse Run -> Debug As -> BlackBerry Simulator choice, or the special BlackBerry plugin Debug icon:

当我启动这两种方式之一时,它不要求我另外做出选择。

When I start either of these ways, it does not ask me to make another choice.

请注意,如果我使用Eclipse,我没有看到热插拔(重新启动应用程序,而不需要重新启动完整的模拟器)功能,即使是那些OS> 5.0的模拟器。

Note that I don't see the hot swap (restart app without a full simulator restart) feature work correctly on all simulators, even those with OS > 5.0, if I use Eclipse.

以下是Eclipse中运行和调试的更多参考资料:

Here are some more references on running and debugging within Eclipse:

http://docs.blackberry.com/en/developers/deliverables/35144/Testing_a_BB_app_with_BB_smartphone_sim_1889924_11.jsp

顺便说一句,该文档的旧版(插件1.3)版本提到 BlackBerry Simulator(running),而较新版本(1.5)没有。所以,也许RIM不再打算使用这个选择(?)。

By the way, an older (plugin 1.3) version of that document mentions BlackBerry Simulator (running), while the newer version (1.5) does not. So, maybe RIM no longer intends for you to use that choice (?).

http://devblog.blackberry.com/2009/08/how-to-setupup -a-lightning-fast-blackberry-smartphone-simulator /

这篇关于黑莓模拟器在eclipse中的调试/运行的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆