BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
pravin Offline
New Member
 
Posts: 13
Join Date: Feb 2008
Model: 7100T
PIN: N/A
Carrier: BlackBerry Development
Default debugger problem - 09-04-2008, 10:01 AM

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
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
John Clark Offline
BBF Moderator
 
John Clark's Avatar
 
Posts: 31,258
Join Date: Jun 2005
Model: 8320
OS: 4.5.0.102
PIN: >Options >Status
Carrier: TMobile
Default 09-04-2008, 11:05 AM

Moved to Developer's Forum
   
Reply With Quote
  (#3 (permalink)) Old
Dougsg38p Offline
Thumbs Must Hurt
 
Posts: 176
Join Date: Mar 2008
Location: Austin, TX
Model: 8320
PIN: N/A
Carrier: T-Mobile
Default 09-04-2008, 11:19 AM

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"
   
Reply With Quote
  (#4 (permalink)) Old
holy3daps Offline
Thumbs Must Hurt
 
Posts: 98
Join Date: Apr 2006
Location: Boston
Model: 8xxx+
Carrier: All Of The Above
Default 09-04-2008, 12:56 PM

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!
   
Reply With Quote
Reply


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






Copyright © 2004-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1