Closed Bug 1554054 Opened 5 years ago Closed 5 years ago

Breakpoint reappears again after removing it and toggling devtools

Categories

(DevTools :: Debugger, defect)

68 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: piotrpalek, Unassigned)

References

Details

Attachments

(4 files, 1 obsolete file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Used firefox devtools, used breakpoints, debugged stuff.

Actual results:

I'm not sure if it was directly after setting it (I'm not even sure if I've set the breakpoint where it's listed) but I've noticed a breakpoint I can't remove.
I'm removing it, it disappears, I toggle devtools and after what seems like the time it takes to load source maps, it appears again.

Expected results:

The breakpoint should stay removed.

Component: General → Debugger

Piotr, thank you for the detailed description. We had some more bugfixes landing around breakpoints in 69 – are you able to reproduce the issue in Nightly? You can use both profiles side by side, so it would maybe help just to use Nightly for some debugging sessions and see if it happens again.

Flags: needinfo?(piotrpalek)

closing as it is likely fixed in nightly, but feel free to re-open if you can still reproduce it.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

I didn't notice it lately so it's most likely fixed :) I'll let you know if I notice it again.

Flags: needinfo?(piotrpalek)

It still happens for me all the time. Running 78.0b7 (Developer Edition).

Attached video Breakpoint coming back in TypeScript (obsolete) —

It also happening to me. Similar to OP, the breakpoint is also in Typescript.

OS: Ubuntu 18.04
Firefox: 81.0 (64-bit)

Sorry about the last video, here it is re-recorded.

Attachment #9181159 - Attachment is obsolete: true

(In reply to Garrett Reynolds from comment #6)

Created attachment 9181176 [details]
Breakpoint coming back in TypeScript, Video 2

Can you please point me to an online page (or attache a page) I could use to reproduce the issue on my machine?

Honza

Flags: needinfo?(garrettreynolds5)

(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #7)

Can you please point me to an online page (or attache a page) I could use to reproduce the issue on my machine?

Darn, I'm not able to get a simple repro. I'm only seeing it in the company I'm at's (complex) app.

I'm attaching my attempt in case anyone wants to try to repro with that. It can be run with

cd repro_attempt_devtools_breakpoint
python3 -m http.server
Flags: needinfo?(garrettreynolds5)

Thanks for the test case. I put that online here: http://janodvarko.cz/tests/bugzilla/1554054/example.html

I can't reproduce the issue using that page. Are there any specific steps?
E.g. specific line I should create a BP at?

Honza

Flags: needinfo?(garrettreynolds5)

Sorry, I may have caused confusion there, I also wasn't able to repro.

Although I tend to see 2 other possibly related bugs in addition the bug described in this bug report. I think all 3 bugs could be related because they all occur when I have a pre-existing BP and reload a page. I see I am now able to repro the second bug which is described in the following steps and shown in the video attached.

  1. Open new window
  2. Load http://janodvarko.cz/tests/bugzilla/1554054/example.html
  3. F12 to open DevTools
  4. Insert a BP, say line 3
  5. Refresh and observe that it correctly stops on line 3
  6. Hit continue
  7. Observe that in the top middle, a widget now incorrectly appears saying "Paused on breakpoint". The "continue" triangle icon is not clickable. You then have to click the "Pause" icon in the DevTools window.

OS: Ubuntu 18.04
FF: 81.0 (64-bit)

Flags: needinfo?(garrettreynolds5)

(In reply to Garrett Reynolds from comment #10)

Although I tend to see 2 other possibly related bugs in addition the bug described in this bug report. I think all 3 bugs could be related because they all occur when I have a pre-existing BP and reload a page. I see I am now able to repro the second bug which is described in the following steps and shown in the video attached.

Thanks for the update!
This scenario is covered by bug 1580394 I copied the test case over there too.

Honza

Ah OK, sorry couldn't be more helpful! I'll let you know if I get a repro.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: