Error Launching Mozilla Application In Debug Mode
Contents |
& Guides Learn the Web Tutorials References Developer Guides Accessibility
Launch Firefox From Command Line Linux
Game development ...more docs Mozilla Docs Add-ons Firefox WebExtensions firefox error no display specified Developer ToolsFeedback Get Firefox help Get web development help Join the MDN community Report a firefox command line fullscreen content problem Report a bug Search Search Archive of obsolete content Languages 日本語 (ja) Add a translation Edit Advanced Advanced History Print
Launch Firefox From Command Line Ubuntu
this article MDN Archive of obsolete content Archived Mozilla and build documentation XULRunner Debugging a XULRunner Application Your Search Results jryans teoli Ikarus76 lygstate past cbonnissent fscholz serge Sheppy MatthewKastor Kastor Aryx BenjaminSmedberg LJR collinhsu DougBTX Kohei Dongdong BenB Skyzyx Cyrille.preaux Nsteven JohnJBarton1 Swunderlin Nickolay Akrabat Bruneux Glazou
Firefox Install Switches
NickolayBot Electrolysis Debugging a XULRunner Application In This Article See alsoPrefsConsoleJavaScript ConsoleTo output messages to the JavaScript consoleBrowser DebuggerVenkmanTroubleshooting The easiest way to debug a XULRunner application is to get the system to tell you what's wrong! There are two different consoles available and various preferences which will ensure that the information you need to know is displayed on them. See also Debugging JavaScript Prefs Setting the following prefs will make your debugging life much easier! Preferences should be in a .js file in the directory %appname%/defaults/preferences/. It doesn't matter what the file is called (as long as the extension is .js), so debug.js is as good as any! /* debugging prefs */ pref("browser.dom.window.dump.enabled", true); pref("javascript.options.showInConsole", true); pref("javascript.options.strict", true); pref("nglayout.debug.disable_xul_cache", true); pref("nglayout.debug.disable_xul_fastload", true); Don't forget to change these preferences back to their defaults when you've finished debugging; leaving them as-is can significan
& Guides Learn the Web Tutorials References Developer Guides Accessibility Game development ...more docs Mozilla Docs Add-ons Firefox WebExtensions Developer ToolsFeedback Get Firefox help Get web development help Join the open firefox from command line windows MDN community Report a content problem Report a bug Search Search Languages 中文
Firefox Remote Control
(简体) (zh-CN) Add a translation Edit Advanced Advanced History Print this article MDN Mozilla Debugging Debugging JavaScript Your Search Results jwhitlock javascript debugger firefox AdamskiFTW leplatrem teoli vladikoff mizandaniel wbamberg Pandark fitzgen DCamp maybe jukbot mnoorenberghe Luke314 cold sun PikadudeNo1 Sheppy harth Kastor Dmose evilpie Aryx int3 madarche zhangpin04 siple007 Neil Johnjbarton BenB Ncmathsadist Kohei kohei.yoshino Debugging JavaScript https://developer.mozilla.org/en-US/docs/Archive/Mozilla/XULRunner/Debugging_XULRunner_applications In This Article Web ConsoleBrowser ConsoleError ConsoleBrowser Debugger (Built-in)Strict code checkingConsole.log in Browser Consoledump()Log.jsm (formerly log4moz)"debugger" keywordScratchpadSee AlsoOriginal Document Information This document is intended to help developers writing JavaScript code in Mozilla, mainly for Mozilla itself, but it may also be useful for web developers. It should give pointers to tools, aids and tricks which make debugging your code easier. Web Console This is the first place to https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/Debugging_JavaScript go when you're debugging a web page; open the Web console using the Web Console option in the Web Developer menu. This shows any JavaScript errors in your app, as well as any logging calls from the console API. Browser Console The Browser Console lets you see all JavaScript errors and logging in the browser, including from Firefox code. To enable it, go to about:config in the url bar and set devtools.chrome.enabled to true, or set the "Enable chrome and add-on debugging" option in the developer tool settings. Activate it through with the menu Tools > Web Developer > Browser Console. You can also start the Browser Console when you launch Firefox, by launching Firefox from the command line and passing --jsconsole as a flag: /path/to/firefox --jsconsole Log to the Browser Console using the standard console API after importing Console.jsm: let console = (Cu.import("resource://gre/modules/Console.jsm", {})).console; console.log("Hello from Firefox code"); Error Console This is obsolete and is no longer enabled in Firefox by default. Use the Web Console or the Browser Console instead. Browser Debugger (Built-in) On Firefox 19 or later, it's possible to use the built-in JS debugger on the browser itself. Go to about:config and set the following two prefs: devtools.chrome.enabled: true devtoo
Documentation EPEL Infrastructure Internationalization Localization Marketing Magazine Package Maintainers Quality Assurance Websites All projects Search Tools What links here Related changes Special pages Printable version Permanent link How to debug Firefox problems From FedoraProject Jump to: navigation, search Contents https://fedoraproject.org/wiki/How_to_debug_Firefox_problems 1 Bug reporting overview 2 Standard troubleshooting steps 2.1 Restart Firefox 2.2 Clear cookies and cache 2.3 Test in Safe Mode 2.4 Reset preferences 2.5 Troubleshoot extensions and themes 2.6 Troubleshoot Add-ons / plugins 2.7 Further troubleshooting steps 2.8 Collect information for a bug report 3 Additional Reading Bug reporting overview Details for each of these items are covered below with references at the bottom. Clear out cache, cookies and session history. Remove all command line plugin-ins, extensions, non-default themes. Restart the application and see if you are still able to reproduce the issue. Startup in Safe-Mode and reproduce. Create a new profile. (See profile manager section below) Download a copy of Mozilla and see if the issue persists. [1] These steps can help isolate where the issues may reside. Standard troubleshooting steps Restart Firefox Close Firefox completely: From the menu at the top of the Firefox windowbar, select firefox from command File and then select the Quit menu item. Then restart your computer and start Firefox again. Clear cookies and cache Many problems with loading web pages can be resolved by clearing Firefox's cookies and cache: Click on the Tools menu and select Clear Recent History... to bring up the Clear Recent History window In the Time range to clear drop-down menu, select Everything Click the arrow next to Details to display the list of items to clear, then select the following items: Cache Cookies Click Clear Now. Exit your browser Clear Flash cookies find ~/.macromedia/ -type f -name \*.sol -exec rm '{}' \; For more information, see Clear Recent History. [2] Test in Safe Mode firefox -safe-mode Reset preferences ( Safe mode option ) [3] Troubleshoot extensions and themes Sometimes add-ons for Firefox (extensions or themes) can cause problems. To confirm whether your problem is caused by an add-on, launch Firefox's Safe Mode: Close down Firefox completely: At the top of the Firefox window, click the File menu, and select the Quit menu item. Go to your Terminal and run: firefox -safe-mode In the Firefox Safe Mode dialog, click Continue in Safe Mode. Test for your problem. If the problem does not occur in Safe Mode, an extension or theme is likely the cause. For more information about troubleshootin