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
PIN: N/A
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.

Pravin
Offline  
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,715
Post Thanks: 6
Thanked 115 Times in 82 Posts
Default

Moved to Developer's Forum
Offline  
Old 09-04-2008, 10:19 AM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

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"
Offline  
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
Default

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.

Cheers,

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

OEM Dell Dimension E310 E3100 Motherboard Intel P4 2.8GHz 1G Ram
$21.78
OEM Dell Dimension E310 E3100 Motherboard Intel P4 2.8GHz 1G Ram pictureDell CW796 Cover Top 1720 OEM Genuine NIB OEM
$39.95
Dell CW796 Cover Top 1720 OEM Genuine NIB OEM  pictureDELL 725-10263 / 331-1310 / KT74N Lamp manufactured by DELL
$195.86
DELL 725-10263 / 331-1310 / KT74N Lamp manufactured by DELL pictureOEM Dell 0PH344 375W PSU N375P-00 NPS-375AB A Power Supply for Precision 380 390
$22.98
OEM Dell 0PH344 375W PSU N375P-00 NPS-375AB A Power Supply for Precision 380 390 pictureNew Dell Genuine OEM Cyan Toner Cartridge H625 H825 S2825 P3HJK
$75.98
New Dell Genuine OEM Cyan Toner Cartridge H625 H825 S2825 P3HJK  picture






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