08-07-2011 02:25 AM
Hi, so I am very new to blackberry development. I have followed the setup tools steps and have everything running up. I have opened "Helloworlddemo" and launched it on the simulator with expected results.
Now my question is, how else can I execute the code except in the simulator. For example say I want to debug through code step by step, how would I do that? When I go project, right click, and choose "Java Application" under "Run-as" nothing happens. Can I run the program in eclipse itself?
08-07-2011 09:16 PM - edited 08-07-2011 09:18 PM
You need to create a Debug Configuration. Go to Run > Debug Configurations...
Click BlackBerry Simulator then click New (white icon with yellow +).
Select a project then click Simulator tab to ensure your desired simulator is selected.
Then Click Debug.
In the future, click the arrow next to the bug in the toolbar, then select your debug configuration.
Hope this helps.
08-08-2011 09:18 AM - edited 08-08-2011 09:20 AM
One more thing.
You need a to create a breakpoint somewhere to do the step by step.
Next time djgolu123 you should try searching first in google.
There are many good tutorials about debugging