Can't set breakpoint in FF Developer Edition devtools
Categories
(DevTools :: Debugger, defect)
Tracking
(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.
Reporter | ||
Comment 1•6 years ago
|
||
I can set breakpoints just fine on the same page in Firefox 65.0.2.
Comment 2•6 years ago
|
||
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!
Comment 3•6 years ago
|
||
I am having this problem too:
Steps:
-
goto: https://solidrockbiblecamp.com/register-for-a-camp/?campid=4
-
Open Developer tools and goto scripts under register-for-a-camp click on (index)
-
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 :)
Reporter | ||
Comment 4•6 years ago
|
||
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.
Comment 5•6 years ago
|
||
I am confirming this bug on the STR in comment 3, but I am re-writing it here:
- Open page: https://solidrockbiblecamp.com/register-for-a-camp/?campid=4
- Open Developer Tools, DEBUGGER tab.
- select the source from the left DevTools screen: solidrockbiblecamp.com/register-for-a-camp/(index)
- On the middle DevTools screen: scroll to the bottom of the code (line 400+).
- 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!
Comment 6•6 years ago
|
||
I think this is a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1535246.
CC Logan
Comment 7•6 years ago
|
||
Yep! Duping into the other issue.
Updated•5 years ago
|
Description
•