Mozilla 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

Firefox developer edition - console.log dont work

  • 2 प्रत्युत्तर
  • 2
  • 2 views
  • के द्वारा अंतिम प्रतियुतर guigs

more options

I cant use console.log function with my firefox developer edition.

When i use it inside file it wont work at all, nothing appears in console. When i paste this function into console directly, it returns only undefined.

I tried both of these things in regular firefox with firebug installed and it works ok.

I cant use console.log function with my firefox developer edition. When i use it inside file it wont work at all, nothing appears in console. When i paste this function into console directly, it returns only undefined. I tried both of these things in regular firefox with firebug installed and it works ok.

All Replies (2)

more options

Console.log() Works for me on Linux.

  • console.log("test");

Note that undefined means that this function call doesn't return a value.

  • (function(){x=5})()
  • (function(){x=5;return(x)})()

Does the same happen in the Browser Console (Firefox/Tools > Web Developer)?


Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window
more options

A quick way to run it is to use the Developer Toolbar: *https://developer.mozilla.org/en-US/d.../GCLI