Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
buadren
Posts: 3
Registered: ‎05-18-2012
My Device: Not Specified

How can i debug my app in blackberry simultor

I am just make blackberry development environment in eclipse.
I am now testing debug in blackberry simulator.
My eclipse version is 4.2.0
and installed jde version may be i think 7.0.0
When i click Blackberry menu->debug as->debug configuration.

In the jre tab box , i can see Blackberry jre 7.0.0.

Then In the Helloworld sample , I breakpointed like below code

"
public class HelloBlackBerry extends UiApplication {
public static void main(String[] args) {
// Create a new instance of the application and make the currently
// running thread the application's event dispatch thread.
##breakpoint## HelloBlackBerry theApp = new HelloBlackBerry();
theApp.enterEventDispatcher();
}

public HelloBlackBerry() {
// Push a screen onto the UI stack for rendering.
pushScreen(new HelloBlackBerryScreen());
}
}
"

 

But When i debug this program in the simulator .
There is any action what i wan't .
I think it may any break in my program.
Please help me more details.