We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,379 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

firebug console.log not working

I have firebug installed in my firefox browser, but I can't get console.log, console.debug or console.trace to work. My console window remains empty despite all my efforts. For example I have some code which throws up an alert box (

alert ('here is an alert')

so I know 100% that it is being executed. If I now place the line

console.log("please log this to the console");

next to it, nothing gets written to the console. I also have firephp installed and this is logging to the console for my php code absolutely fine.

Has anyone got any ideas? Do I need to execute any other javascript as a prerequisite for it to work?

1
Contributor
1
Reply
18 Hours
Discussion Span
3 Years Ago
Last Updated
3
Views
Sirabbub
Newbie Poster
7 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

I've got it working now. I just re-installed the firebug firefox add-on and it's OK. Couldn't have been installed properly.

Sirabbub
Newbie Poster
7 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0632 seconds using 2.75MB