Thunderbird:Debugging Gloda

From MozillaWiki
Jump to: navigation, search
  1. Enable gloda debugging output...
    1. Bring up the "Preferences" window by selecting the "Advanced" tab and "General" sub-tab.
    2. Click on the "Config Editor..." button. You may need to click through a warning page.
    3. Once the about:config window is visible, type "global" into the "Filter" text box. You may need to increase the size of the window or alter the column widths to be able to see the full Preferences Names.
    4. Set the mailnews.database.global.logging.dump preference to true.
    5. Clear the filter box and replace it with "window.dump".
    6. Set browser.dom.window.dump.enabled to true.
  2. Restart Thunderbird, running it so that you have a console window. This varies by platform:
    • Windows
      1. Locate the path to your Thunderbird executable by locating it in the start-menu (or however you run it), right-clicking on it, and choosing "properties". Select the entire value in the "target" box and copy it. (You can accomplish this by clicking in the box, pressing the "home" key, then holding down 'shift' and pressing the "end" key, followed by pressing "control-C".) Once you have done this, you can close the properties dialog by clicking the "cancel" button.
      2. Bring up the windows run dialog by either chooing the "run" option from the Windows "Start" menu or pressing 'windows key' and 'R' on your keyboard.
      3. Paste in the executable path and add a '-console' argument after the path. For example the entire string might be: "C:\Program Files\Mozilla Thunderbird 3.0 Beta 3\thunderbird.exe" -console
    • OS X
      1. Bring up a Terminal.app window. Type the path to your executable and add a '-console' argument. For example, if you have dragged Thunderbird into your Applications folder, you would type: /Applications/Thunderbird.app/Contents/MacOS/thunderbird -console
    • Linux
      1. Bring up a terminal window. In Ubuntu, you would select "Applications... Accessories... Terminal". Invoke thunderbird with "-console". Assuming thunderbird is on your path, this will look like "thunderbird -console".