Enter does not send commands to the console at the breakpoint

In Firefox 37.0.2 for Linux Mint Rebecca 17.1 (based on Ubuntu 14.04).

When I am at a breakpoint, the console is in multi-line command mode all the time, Enternot sending a command, but opening a new line.

So when I type `console.log (" foo ")

type a command

and click Enter, instead of viewing the output, foo

I get:

enter opens new line

I've tried putting a half-line at the end of the command, hitting every imaginary ctrl+ Enterand so on, but they all just open a new line.

The console works as expected when I am not at a breakpoint. This SO answer suggests it shouldn't be a problem.

What's happening?

+3


source to share


2 answers


This problem seems to have gone away in Firefox 39.0.



So, if you are experiencing this, it might be best to update!

+1


source


I couldn't find a better answer, but closing Firefox and restarting it solved this problem for me. You can then go to the History menu and restore your previous session to get back to where you were.



I'm pretty sure this is a bug, as the Mozilla-only documentation mentions that to enter more than 1 line, you need to press Shift + Enter instead of Enter before doing input.

+1


source







All Articles