BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 09-04-2008, 09:01 AM   #1 (permalink)
Knows Where the Search Button Is
pravin's Avatar
Join Date: Feb 2008
Model: 8130
Carrier: Sprint
Posts: 37
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default debugger problem

Please Login to Remove!

Hi All,

I am using RIM JDE 4.3.0 when i run the application its give lots of VM messages, any my debug messages of exception and other SOP are very hard to find out.
Any one know how i can configure it just for showing and SOP used in application.

Thanks in advanced.

Old 09-04-2008, 10:05 AM   #2 (permalink)
BBF Moderator
John Clark's Avatar
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,712
Post Thanks: 4
Thanked 114 Times in 81 Posts

Moved to Developer's Forum
Old 09-04-2008, 10:19 AM   #3 (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

I haven't figured out any method of filtering the debugger output in real-time. Our work-around is to establish a prefix for a particular application, like "ABC:", and start all informational messages with this prefix. This allows you to copy the debugger output and filter out the noise using the text editor of your choice.

Example: "ABC: This is a debug message"
Old 09-04-2008, 11:56 AM   #4 (permalink)
Thumbs Must Hurt
Join Date: Apr 2006
Location: Boston
Model: 8900
Carrier: AT&T
Posts: 98
Post Thanks: 0
Thanked 0 Times in 0 Posts

You might also try using the EventLogger (net.rim.device.api.system.EventLogger). It allows you to write messages into the onboard event log, and I would use Dougsg38p's suggestion of tagging messages with some easily noticeable string ("ERROR" and "EXCEPTION" are very easy to see). The event log contains much fewer statements than the debug window will. The only real difficulty is extracting the event log to a file - attach the device via USB to a PC and use javaloader -u eventlog > eventlogtext.txt. You can do the same on the simulator by selecting "simulate USB" and then using the above javaloader command. You can read the event log on the device itself, but I prefer downloading the log to a text file.


Karl G. Kowalski
Owns a RAZR
Develops for BlackBerry
So next phone will iPhone 3G!
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

GW Instruments MacADIOS - Vintage Mac Lab Interface 411
GW Instruments MacADIOS - Vintage Mac Lab Interface 411 pictureVINTAGE MAC SCREWDRIVER STUBBY NO. PN2SA
VINTAGE MAC SCREWDRIVER STUBBY NO. PN2SA pictureVintage 1/2" Drive MAC VUI 166T 6 Point Impact Swivel Socket
Vintage 1/2New Vintage Velocette MAC 350cc Single 1949 Petrol Fuel Gas Tank
New Vintage Velocette MAC 350cc Single 1949 Petrol Fuel Gas Tank pictureProto Drive 6912-PKM Magnetic Hex Bit 3/8" Mac Tools M8D2 Vintage
Proto Drive 6912-PKM Magnetic Hex Bit 3/8

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