Blackberry Debug: Debug an application running on a live BlackBerry smartphone
来源:互联网 发布:大学c语言必背基础知识 编辑:程序博客网 时间:2024/06/05 00:52
This article applies to the following:Summary
Details
The debugging tool included in the BlackBerry JDEcan be used to debug applications running in the BlackBerry SmartphoneSimulator as well as on the BlackBerry smartphone.
Connecting the debugging tool to the BlackBerry smartphone
To connect the debugging tool to the BlackBerry smartphonewith a serial connection, you must have the Java Communicationsapplication programming interface (API) installed on your computer.To connect the debugging tool to a BlackBerry smartphone with aUSB connection, the BlackBerry smartphone USB driver must be installed.
After installing the appropriate software, complete the applicableprocedure for the development environment you are using.
BlackBerry JDE
- Connect the BlackBerry smartphone to thecomputer.
- From the BlackBerry JDE menu, select Debug > Attachto > Device. Select the BlackBerry PIN or COM portto which the BlackBerry smartphone is connected.
- Set break points in the BlackBerry JDE and then startthe application on the BlackBerry smartphone.
- Make sure that the application files running on the BlackBerrysmartphone are identical to the application files running in theBlackBerry JDE.
BlackBerry JDE Plug-in for Eclipse
- Connect t the BlackBerry smartphone to theUSB port on your computer.
- Open the BlackBerry® Device Manager.
- Load the application on to the BlackBerry smartphone.
- Set break points in your application
- In Eclipse®, on the Run menu, click DebugConfigurations.
- Select BlackBerry Device.
- Click New.
- In the Name field, specify a name.
- In the BlackBerry Device configuration section,select either Attach to any connected or Attachto a specific device. With the latter options, if you have multipleBlackBerry smartphones connected, from the drop-down list you can specifywhich BlackBerry smartphone to use for debugging.
- Click Debug.
Note: If an error message appears immediately after selecting acommunications port (COM port) from the list, the Java CommunicationsAPI may not be correctly installed on your computer. Make sure youhave placed the javax.comm.properties file in the correctlocation. For more information and alternative locations, see theJava Communications API installation instructions.
from:http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800738/800901/How_To_-_Debug_an_application_running_on_a_live_BlackBerry_smartphone.html?nodeid=800768&vernum=0
- Blackberry Debug: Debug an application running on a live BlackBerry smartphone
- BlackBerry PlayBook NDK 2.0环境中Debug Token的使用。
- KGDB with VirtualBox: Debug a Live Kernel
- The steps of running Sencha on BlackBerry z10, BB10运行Sencha的步聚
- Debug application
- Android Studio报错Error Running app: cannot debug application
- maven项目进行debug as->maven test构建时报error:running on a JRE rather than a JDK? _02
- Debug a NIC driver in linux(kernel version 2.4.20-8) which running on VMware workstation version 4.5.2
- How To Debug an ASP.NET Web Application
- SQLite on BlackBerry 完美支持中文
- JSON on BlackBerry黑莓上的JSON
- A signed resource has been added, modified, or deleted” when trying to debug an App on iPhone
- Debug your ASP.NET Application while Hosted on IIS
- Debug on real Apple Watch: Application Verification Failed
- Cannot debug application from module app on device
- BlackBerry 9850 应用:BBM, Windows Live Messenger (msn)
- Debug Java Application
- Debug Android Application
- 北京奥林匹克公园三维场景网络发布应用
- 万维网发布服务(w3svc)以停止。除非万维网发布服务(w3svc)正在运行
- ESX Server 4.1的安装与破解全过程(五)
- 软件版本号的定义[整理版]
- RICH EDIT 控件 SDK 参考手册
- Blackberry Debug: Debug an application running on a live BlackBerry smartphone
- 如何成为一名专家级的开发人员 (转载)
- Flex 地图联动
- SQL Server VSS Writer
- C#中split的运用
- BSP技术详解
- VS2010安装到 "VsaEnv_Setup_x86_chs" 卡住的解决办法
- WinCE系统架构
- SQL语句执行效率及性能测试