Closed Bug 1535668 Opened 6 years ago Closed 6 years ago

Can't set breakpoint in FF Developer Edition devtools

Categories

(DevTools :: Debugger, defect)

67 Branch
defect
Not set
normal

Tracking

(firefox-esr60 wontfix, firefox66 wontfix, firefox67 wontfix, firefox68 wontfix)

RESOLVED DUPLICATE of bug 1535246
Tracking Status
firefox-esr60 --- wontfix
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- wontfix

People

(Reporter: 1silvertiger, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

Steps to reproduce:

I opened the inspector and tried to set a breakpoint on a line of JavaScript code. I tried clicking and using Ctrl+B and right clicking.

Actual results:

Nothing.

Expected results:

A breakpoint should have been set. It doesn't break when the code runs, so it's not just a display issue.

I can set breakpoints just fine on the same page in Firefox 65.0.2.

Firstly, I have to say that I am a little confused. It appears that I can't set a breakpoint in the Inspector tab of Developer Tools in Firefox Release either. If I go to the debugger tab and select a JS file, I will be able to set a breakpoint in the code on both the Release version v65.0a1 and Nightly v68.0a1.

Is there a page I can open and see JS code in the inspector tab?
Please try to reproduce again and write a full and unambiguous list of steps to reproduce.

Thank you for your contribution!

Flags: needinfo?(1silvertiger)

I am having this problem too:

Steps:

  1. goto: https://solidrockbiblecamp.com/register-for-a-camp/?campid=4

  2. Open Developer tools and goto scripts under register-for-a-camp click on (index)

  3. Scroll down the page till you find the little snippet of javascript.

I am unable to set a break point on this javascript. I also seem to be able to randomly set breakpoints in other javascript files on this website. Some files I can't and some I can.

Hope that helps :)

I can confirm the above steps reproduce the bug. The site that I discovered this on is an internal site so I can't link to it.

Flags: needinfo?(1silvertiger)

I am confirming this bug on the STR in comment 3, but I am re-writing it here:

  1. Open page: https://solidrockbiblecamp.com/register-for-a-camp/?campid=4
  2. Open Developer Tools, DEBUGGER tab.
  3. select the source from the left DevTools screen: solidrockbiblecamp.com/register-for-a-camp/(index)
  4. On the middle DevTools screen: scroll to the bottom of the code (line 400+).
  5. Attempt to select line 405.

Expected: Breakpoint is set on the selected line.

Actual: The breakpoint is not set.

I have reproduced the issue in (latest) Nightly v68.0a1, Beta v67.0b3 on all lines below line 400.
I have reproduced the issue partially on Release v66.0 and ESR v60.6.0; setting a breakpoint on line 405 will set it on line 407.
I cannot reproduce this issue on DevEdition v67.0b3; all breakpoints are set correctly.

This is certainly confusing and I have even seem mixed results when opening different browser versions at once, but I am confirming it now as occurring on all and set component as (DevTools) Debugger.

@1silvertiger: I do not know sure about the default/expected behavior, so please confirm that the STR is correct.

Thank you for your contribution!

Status: UNCONFIRMED → NEW
Component: Untriaged → Debugger
Ever confirmed: true
Flags: needinfo?(1silvertiger)
Product: Firefox → DevTools

I think this is a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1535246.

CC Logan

Flags: needinfo?(1silvertiger) → needinfo?(lsmyth)

Yep! Duping into the other issue.

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(lsmyth)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.