console.log dont appear on firefox console
Categories
(DevTools :: Console, defect)
Tracking
(Not tracked)
People
(Reporter: chelito80, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
Steps to reproduce:
making a videogame in javascript, css3 html5, and support for ps4 joystick.
Actual results:
The javascript command "console.log" dont appear in this new version of firefox, previously it was ok. I try on other laptop and dont appear the result via the developer console. Even I try on the last version of waterfox, and is the same result of firefox.
Expected results:
To see the result of "console.log".. via the firefox developer console when I program..
Comment 1•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•6 years ago
|
||
(In reply to chelito80 from comment #0)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
Steps to reproduce:
making a videogame in javascript, css3 html5, and support for ps4 joystick.
Actual results:
The javascript command "console.log" dont appear in this new version of firefox, previously it was ok. I try on other laptop and dont appear the result via the developer console. Even I try on the last version of waterfox, and is the same result of firefox.
Expected results:
To see the result of "console.log".. via the firefox developer console when I program..
Hello chelito80,
This is pretty vague, can you share a URL or something that would allow us to reproduce the issue?
Is it happening on every website (if you evaluate console.log("hello") from the console) ?
Hi Nicolas, no, today I try the command in the console and the result is not defined and the following line is fine "hello".
I also try it in waterfox, in a new tab, and the result is "hello" and then the next line is not defined. Is that not normal or is it okay?
But the problem is solved (I guess). And I don't know how !!!, I put the command inside a blank html with the command console.log ("hello"), it was ok, then I go to my project and test it outside the main function of the game, it shows me the "hello" in the console, then i try the main function and it's ok too, even remove the "comment" mode from console.log (x position of some game sprite) ... which didn't appear yesterday in the console, and now it's showing up! I don't understand what happened!
Could it be a problem with my computer or a session problem? I test it in waterfox and today it works fine too. It's strange! And if this is not an error, I delete the entry.
Sorry i mean when you type "console.log("hello") you see "undefined" then hello, and on waterfox you see hello then next line "undefined"
Comment 5•6 years ago
|
||
so it looks like it was an issue with your code, since you also had the same issue in waterfox. I'll close the bug if that's okay with you.
(and yes, a console.log does return "undefined", and we do have an issue with console.log showing up after the result, which should be resolved in Nightly).
But i didnt change my code, so it looks like it was another problem (even in two pc the problem was the same) and today is working fine, and again, i didnt change my code.
So Is not my code. But for me is ok, i see the "console.log" right now working, so you can close it! Thanks very much!!!
Description
•