This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

Firefox 15 JavaScript Debugger closes immediately

  • 17 antwoorde
  • 10 hierdie probleem
  • 1 view
  • Laaste antwoord deur patrickdw

more options

The new JavaScript debugger in Firefox 15 closes immediately when I try to open it.

The Firefox application does not crash. Just the debugger.

Within a fraction of a second, the bottom of the screen shows and then closes a panel.

I tried disabling all extensions, but it didn't help.

I tried the "Reset Firefox" button, but it didn't help.

Issue is in Firefox 15.0.1 on Ubuntu Linux 12.04 on a Compaq Presario CQ62 that has an AMD processor.

My other Ubuntu 12.04 installation on a Macbook Pro does not have this issue.

The new JavaScript debugger in Firefox 15 closes immediately when I try to open it. The Firefox application does not crash. Just the debugger. Within a fraction of a second, the bottom of the screen shows and then closes a panel. I tried disabling all extensions, but it didn't help. I tried the "Reset Firefox" button, but it didn't help. Issue is in Firefox 15.0.1 on Ubuntu Linux 12.04 on a Compaq Presario CQ62 that has an AMD processor. My other Ubuntu 12.04 installation on a Macbook Pro does not have this issue.

Gekose oplossing

Issue appears to be fixed in Firefox 17.

Lees dié antwoord in konteks 👍 0

All Replies (17)

more options

May be related to this issue. Seems that it's a known bug that has been assigned.

Gewysig op deur patrickdw

more options

Did you try to disable your extensions as a test to see if that makes the Debugger work?

more options

Thanks, yes as I noted in my OP, I tried disabling all extensions.

Also tried the "Reset Firefox" button.

Neither worked. I'll give "safe mode" a try.

EDIT: I'm now in "safe mode", and the issue persists.

Gewysig op deur patrickdw

more options

The bug report mentions some specific extensions that cause scripts not to get loaded or otherwise interfere.

Your system details list doesn't show any of the extensions mentioned in the bug report, so in your case it might be something different.

Do you see any errors in the Web Developer > Error Console (Ctrl+Shift+J) related to this?

You can hide the usual CSS errors that show up.

more options

Ah yes. I had the wrong console open at first. I had Ctrl+Shift+K.

In the Error console, I get:

09/11/2012 04:50:36 PM

[Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIOutputStream.write]" nsresult: "0x80470002 (NS_BASE_STREAM_CLOSED)" location: "JS frame :: chrome://global/content/devtools/dbg-transport.js :: DT_onOutputStreamReady :: line 94" data: no]

chrome://global/content/devtools/dbg-transport.js Line: 94

more options

It looks that Firefox is trying to set up for remote debugging.

Do you have any of the devtools.debugger.* prefs set to a user set (i.e. not default) value?

  • devtools.debugger.remote-enabled

Gewysig op deur cor-el

more options

I don't believe I have changed any such settings. How would one check that?

I previously had Firebug and YSlow installed. Could it be that one of those would have changed a setting?

I'm checking right now.

Gewysig op deur patrickdw

more options

devtools.debugger.remote-enabled is false

I'll look for other remote settings.

All the devtools.debugger settings have the default setting applied.

Gewysig op deur patrickdw

more options

Still not working.

My latest attempt was to do the following...

  • sudo apt-get remove firefox
  • mv ~/.mozilla ~/.mozilla_old
  • whereis firefox (and rm -r the found directories)
  • whereis mozilla (and rm -r the found directories)
  • sudo apt-get install firefox

I would think this would give me an entirely clean installation, but it didn't solve the issue.

more options

Did you try to install Firefox from the Mozilla server instead of via the repositories of your Linux distribution?

You can find the latest Firefox release in all languages and for all Operating Systems here:

Gewysig op deur cor-el

more options

Good idea. I'll give that a try in the morning. Strange that my other Linux installation works.

more options

Unfortunately, the non-repo Firefox behaved the same way.

Since my MacBook Pro Linux installation works, I have a feeling there must either be some software or driver on this machine causing the issue.

I'm going to install Linux in VirtualBox on this same machine, and see if I experience the same problem.

Thanks for your help thus far!

more options

I can't replicate the issue in another installation.

I've a feeling there's just something deep in the bowels of my Linux install that is fubar'd. I may just need to clean install my system.

more options

I have exactly the same issue on my Windows 7 machine with Firefox 16.0.1. Any leads on how to fix it?

more options

Unfortunately no. I haven't been able to resolve this, and I can't replicate it on another machine, so I've given up.

If you come across a solution, please let me know!

more options

I'm having the same problem in Firefox 16.0.2 on Ubuntu 12.04. Whenever I try to start the debugger the following error appears in the error console.

Timestamp: 11/16/2012 08:39:20 PM Error: [Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIOutputStream.write]" nsresult: "0x80470002 (NS_BASE_STREAM_CLOSED)" location: "JS frame :: chrome://global/content/devtools/dbg-transport.js :: DT_onOutputStreamReady :: line 94" data: no] Source File: chrome://global/content/devtools/dbg-transport.js Line: 94

more options

Gekose oplossing

Issue appears to be fixed in Firefox 17.