开发者

Debug Blackberry App in Simulator using Eclipse Plugin

I have just started the Hello World App using Blackberry Eclipse Plugin.

I have tried one or two configuration for debug my HelloWorld Blackberry App, but unfortunately I could not..

Can anyone let me know that how can I debug any Blackberry App in simulator using Eclipse Plugin ?

Thanks in advance...

EDIT : When I am trying to do so using Debug Configuration开发者_StackOverflow中文版 option in Eclipse I am getting following error :

"Failed to connect to remote VM. Connection timed out. org.eclipse.jdi.TimeoutException"

with following stacktrace :

org.eclipse.jdi.TimeoutException
at org.eclipse.jdi.internal.connect.SocketTransportService.attach(SocketTransportService.java:151)
at org.eclipse.jdi.internal.connect.SocketTransportImpl.attach(SocketTransportImpl.java:43)
at org.eclipse.jdi.internal.connect.SocketAttachingConnectorImpl.attach(SocketAttachingConnectorImpl.java:118)
at org.eclipse.jdt.internal.launching.SocketAttachConnector.connect(SocketAttachConnector.java:139)
at net.rim.ejde.A.L.E.doConnect(RIMEIDE:1273)
at net.rim.ejde.A.L.E.debug(RIMEIDE:769)
at net.rim.ejde.A.L.K.launch(RIMEIDE:608)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


See page 30 of this manual

  1. In Eclipse®, on the Run menu, click Debug Configurations or Run Configurations.
  2. Expand the BlackBerry Simulator item.
  3. Perform one of the following tasks:

    To work with an existing launch configuration, under BlackBerry Simulator, click a launch configuration.

    To work with a new launch configuration, right-click BlackBerry Simulator, and click New.

  4. Click the Simulator tab.

  5. Click the General tab.
  6. Click run
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜