Closed Bug 1096419 Opened 10 years ago Closed 5 years ago

Can't run things in the console at set js breakpoints

Categories

(DevTools :: Console, defect)

35 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Matt_G, Unassigned)

Details

This came in through Input so I thought I'd pass it along. I've got the user's email address as well if you need to follow up:


==================================================================================
Can't seem to run things in the console at set js breakpoints. To better illustrate...

Here's a GIF of when it works (without a breakpoint): http://cl.ly/291O1T0j0u1z

And then here's what isn't working (with):
http://cl.ly/0z2x0k2x3P0B
Are there any errors in the browser console (cmd-shift-J)? Does it always happen in a particular page or intermittently? Can we get a reduced test case that reproduces the problem or access to the original page?
As I mentioned, that came through one of the feedback channels. I filed it so it wouldn't get lost. Do you want contact info for the user? I can email it to you.
this is directly reproducible on any site.. just tried on google.com.

1) Open console after refresh of page, you can type "this" and see that it returns the Window as the context.
2) Put a breakpoint in one of the two JS files & refresh
3) Now, when you open the console after the loading process is interrupted from the breakpoint, the command line doesn't ever submit. "enter" just creates a new line.

vid: http://cl.ly/0M3x20263i3C
stompy1208: I can't reproduce here. It always works for me. What version of Firefox is this?

Also, do you get any errors in the Browser Console? Does it still happen in safe mode (add-ons disabled)?
firefox dev edition 35.0a2 on mac os x yosemite. 

there's no errors on the page... and i have 0 add-ons installed as this is one of the first things i had to do for my job, and it didn't work. 

I've tried any & all modifier key combinations to hold WITH enter, and i just can't get it to not create a new line if the debugger is at a breakpoint.
confirmed this is also valid on my windows 7 machine.
i don't know if any updates were released but it just worked for me on something else. Will see if I can get it to break again in the future.
Component: Developer Tools: Debugger → Developer Tools: Console
Product: Firefox → DevTools

a lot changed in the past years in the console, and I can't reproduce this issue. Let's close this bug.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.