Changes between Version 11 and Version 12 of debugging


Ignore:
Timestamp:
07/03/11 17:49:40 (8 years ago)
Author:
octo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • debugging

    v11 v12  
    6060This feature works with from version 0.4 onward. 
    6161On most BlackBerry devices, you can access the system event log by pressing '''Alt-lglg''' while on the home screen.  On the BlackBerry Storm, follow the instructions described [http://www.technipages.com/blackberry-storm-access-hidden-event-log-screen.html here].  If those don't work, Corey Gilmore wrote a very nice [http://coreygilmore.com/blog/2009/11/02/helper-application-to-view-the-event-log-on-a-blackberry-storm/ helper application] to bring up the event log. 
    62  
     62=== Configure the Event Logger === 
    6363 * Press: Alt-lglg (the Event Log screen should appear) 
    6464 * Go to the menu, and select "Options" 
    6565 * Change the "Min log level" option to "Debug Info" 
    66  * Uncheck everything except "!LogicMail" 
     66 * Click the Menu button and select "Hide all types" to uncheck everything 
     67 * Now find and check the following items: 
     68   * '''Java Exception''' 
     69   * '''LogicMail''' 
     70   * '''net.rim.networkapi''' (if available) 
     71   * '''net.rim.tcp''' (if available) 
    6772 * Return to the "Event Log" screen. 
    6873 * Go to the menu, and select "Clear Log", and confirm. 
    6974 * Return to the main BB screen 
    7075 
     76=== Use LogicMail === 
    7177 * Start !LogicMail 
    7278 * Go to the menu, select "Configuration", scroll to the bottom, and enable "Connection debugging".  (''Note: Connection debugging only helps if the issue is a protocol error.  It won't be useful for connection problems.'') 
     
    7581 * Quit out of !LogicMail. 
    7682 
     83=== Capture the log === 
    7784 * Press: Alt-lglg 
    7885 * Go to the menu, and select "Copy Day's Contents", and select "Filtered" 
     
    8289   * Finally, sync this Task item to your PC, censor anything you don't want me to see (i.e., replace names and passwords with dummy characters), and either send the log to me, or attach it to a bug ticket. 
    8390 
    84 When you censor the log text, please don't change the length or existence of special characters in the data.  Please leave in any and all spaces, punctuation, quotes, newlines, etc.  Any of these things could be the cause of the error, and if I cannot reproduce the issue by running pieces of !LogicMail on data in the log, I cannot fix it. 
    85  
    86 Note: Before sending me a log, '''''please''''' actually try to read it.  I make the logs quite verbose, and it should be obvious whether or not the log actually contains any sort of useful error message. 
     91=== Notes on providing logs === 
     92 * When you censor the log text, please don't change the length or existence of special characters in the data.  Please leave in any and all spaces, punctuation, quotes, newlines, etc.  Any of these things could be the cause of the error, and if I cannot reproduce the issue by running pieces of !LogicMail on data in the log, I cannot fix it. 
     93 * Before sending me a log, '''''please''''' actually try to read it.  I make the logs quite verbose, and it should be obvious whether or not the log actually contains any sort of useful error message.  If the log just says the application started, loaded some local folders, then "Unable to open connection", the log ''probably does not actually contain any useful information''. 
     94 * When posting a log to this website, '''please''' use [wiki:WikiFormatting] so it is displayed correctly.  For a log dump, this usually means enclosing the log text like this: 
     95{{{ 
     96  {{{ 
     97  d LogicMail - MaildirFolder.open() 
     98  Opening: file:///SDCard/BlackBerry/logicmail/local/Drafts - 7/2 18:23:17 
     99  i LogicMail - Application startup 
     100  Date: Sat Jul 02 18:23:16 Europe/Brussels 2011 
     101  Name: LogicMail 
     102  Version: 2.0.0.282 
     103  Platform: 9700 5.0.0.586 
     104  - 7/2 18:23:16 
     105  }}} 
     106}}}