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 Developer
Posts: 3
Registered: ‎05-13-2012
My Device: 9930
My Carrier: 9930
Accepted Solution

how to find the errors' position approximately ?

when an exception pops Android apper can find their errors approximately by looking up in the log.

what could we do?:Wacko:

Developer
Posts: 19,618
Registered: ‎07-14-2008
My Device: Not Specified

Re: how to find the errors' position approximately ?

Have you see the BlackBerry Event log - any un-captured Exceptions usually end up putting a stack trace in there.

 

To find the Event Log on a device with a keyboard, press and hold ALT, then press L, then G, then L, then G. 

 

If you have a touchscreen only device, do a Google search for instructions for your device - you should find a BlackBerry article that describes how to do it for your BlackBerry.

 

Does that answer the question?

Developer
Posts: 125
Registered: ‎08-11-2011
My Device: Blackberry Smartphone 9780
My Carrier: -

Re: how to find the errors' position approximately ?

If you are programming in Eclipse, this is what you need.

 

http://blogs.bytecode.com.au/glen/2007/04/06/eclipse-tip--breakpoint-on-exception.html

---------------------------------------------------------------------

My good english is beceause i dont speak english