debugger icon indicating copy to clipboard operation
debugger copied to clipboard

[panel] new-breakpoint is gone when switching devtools-tab

Open magicp-github opened this issue 9 years ago • 3 comments

Steps to reproduce

  1. Go to any sites (e.g. about:home)
  2. Select any sources (e.g. chrome://browser/content/contentSearchUI.js)
  3. Add new breakpoint (e.g. on line 9)
  4. Switch devtools tab to "Style Editor"
  5. Go back to "Debugger" tab
  6. Confirm breakpoint mark on line number

Actual Results .new-breakpoint is gone when switching devtools-tab. After that, it will be appeared if click source tab.

Expected Results .new-breakpoint is not gone, even if switching devtools-tab.

breakpoint-is-gone-when-switching-devtools-tab

magicp-github avatar Feb 10 '17 00:02 magicp-github

Thanks for filing @magicp-github

jasonLaster avatar Feb 10 '17 22:02 jasonLaster

I believe this is due to a larger issue, which is that we don't persist breakpoints across debugging sessions.

I'll look into doing this in a separate issue and we can see if it fixes it.

jasonLaster avatar Feb 26 '17 23:02 jasonLaster

This is now fixed thanks to @arthur801031's work persisting breakpoints!

jasonLaster avatar Apr 07 '17 19:04 jasonLaster