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
- In Eclipse®, on the Run menu, click Debug Configurations or Run Configurations.
- Expand the BlackBerry Simulator item.
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.
Click the Simulator tab.
- Click the General tab.
- Click run
精彩评论