|

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!
|