Toolkit:Password Manager/Debugging

From MozillaWiki
< Toolkit:Password Manager
Revision as of 03:39, 26 December 2007 by Dolske (talk | contribs) (New page: The password manager in Firefox 3 includes the ability to log debugging information to the Error Console, which can be enabled to help diagnose problems. This logging is off by default. Pa...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The password manager in Firefox 3 includes the ability to log debugging information to the Error Console, which can be enabled to help diagnose problems. This logging is off by default. Passwords are not shown in the output.

Enable Debug Logging

  1. Enter "about:config" in the URL bar.
  2. You may see a warning screen, cautioning you about changing advanced preferences. Click the button to ignore the warning.
  3. Find the signon.debug and javascript.options.showInConsole settings, and set them to true. You can enter the name in the "Filter" box at the top of the page to help find them. To change the value of a setting, right-click on the line and select "Toggle" or just double-click the line.
  4. Restart the browser. Some logging is only enabled after the restart.

View the Logging

  1. To view the logging, open the Error Console from the Tools menu.
  2. Click either the "All" or "Messages" icons at the top of the window.
  3. Load a web page in in the browser. You should see messages in the Error Console like:
Login Manager: onStateChange accepted: req = http://www.google.com, flags = 196612
Login Manager: onStateChange: adding dom listeners
Login Manager: domEventListener: got event DOMContentLoaded
Login Manager: Counting logins matching host: http://www.google.com, formSubmitURL: , httpRealm: null

To copy a message, right-click on it and select Copy.