debugger icon indicating copy to clipboard operation
debugger copied to clipboard

"Remove breakpoint" in CodeMirror doesn't work on commented out line

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

Steps to reproduce:

  1. Navigate to "about:debugging"
  2. Load temporary add-on in local. (e.g. apply-css https://github.com/mdn/webextensions-examples/tree/master/apply-css)
  3. Click Debug button.
  4. Add breakpoint in background.js (e.g. line 14)
  5. Edit "background.js" in local, and comment out line 14.
  6. Click Reload button on about:debugging page.
  7. Remove breakpoint in CodeMirror.

remove-breakpoint-on-commented-out-line

Actual Results: "Remove breakpoint" doesn't work in CodeMirror (But, it works on breakpoints pane)

Expected Results: "Remove breakpoint" works even if on commented line.

magicp-github avatar Oct 30 '17 09:10 magicp-github

/claim

sharathnarayanph avatar Nov 17 '17 20:11 sharathnarayanph

Thanks for claiming the issue! :wave:

Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.

:fox_face: Debugger team!

claim avatar Nov 17 '17 20:11 claim

thanks @sharathnarayanph, would be great to make it easy to remove regardless of comment :)

jasonLaster avatar Nov 17 '17 23:11 jasonLaster

Looks like the fix landed, closing.

wldcordeiro avatar Jan 05 '18 01:01 wldcordeiro