BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 01-18-2011, 12:46 AM   #1 (permalink)
New Member
Join Date: Jan 2011
Model: 8520
Carrier: Curve 3G
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Exception Handling

Please Login to Remove!

Hi all, I am new to BlackBerry App

I am developing a small image viewer app, i cant get the exception stack trace in my console.. just i am getting an error in the simulator.

when i change to debugging mode... it shows so many prints... and doesn't mine.

i want to get the log of my programs .. exceptions ... How to handle exception and System.out.println in blackberry?

i am using BlackBerry_1.3.0. in Eclipse ... pls help

your help is highly appreciated..

Old 01-21-2011, 09:25 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Exception Handling

You cannot get the stack trace in the console output.

If you catch Throwable, the stack trace will be placed in the device event log.

You also have access to the call stack in the debugger when the exception occurs.
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Exception Handling
Thread Thread Starter Forum Replies Last Post
Exception Handling vinoopraj BlackBerry Help 1 01-18-2011 06:36 AM
Unable to view WebConsole airalex BES Admin Corner 0 09-20-2010 11:00 AM
Exception ou erreur 104 lors d'exicution d'un programe/Exception or Error 104 when ex rahmazayoud Developer Forum 2 05-14-2010 01:33 PM
Help In Handling Null Pointer Exception !! bb_develop Developer Forum 1 03-16-2010 02:46 AM
Random White Screen of Death reboots with Java exception errors s54 General 9000 Series Discussion - Bold 4 02-25-2009 12:56 PM

APPLE 630-0895-B  VRAM 128K X 8 BOARD CARD VINTAGE pictureAPPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD >
APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD > picture

Copyright © 2004-2016
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.