Closed Bug 1575071 Opened 6 years ago Closed 6 years ago

Step Over with blackboxing fails

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(firefox73 fixed)

RESOLVED FIXED
Firefox 73
Tracking Status
firefox73 --- fixed

People

(Reporter: jlast, Assigned: wartmanm)

Details

Attachments

(3 files)

STR:

  1. go to https://firefox-dev.tools/debugger-examples/examples/todomvc/
  2. blackbox log.js
  3. edit a todo
  4. click on the message "start editing" (land on line 77)
  5. press step over

ER: go to 78
AR: resumes

Note, this works w/o web replay

Here is a long video of me futzing with it https://www.loom.com/share/66db34cfc0ba4c49b0e1c8ed68443415

I think the problem here is not specific to web replay: when the server has paused at a location within a blackboxed source, it has trouble stepping forward whether web replay is turned on or not. I can't reproduce this specific STR without web replay because message warping is only supported with web replay on, but here are similar STR without web replay:

  1. go to https://firefox-dev.tools/debugger-examples/examples/todomvc/
  2. set a breakpoint at the start of logTodo in log.js
  3. edit a todo, so that the debugger pauses at the breakpoint
  4. blackbox log.js
  5. press step over

The process then resumes, when it seems better that it should step out to the first non-blackboxed frame. Fixing this in the non-web-replay case will probably fix the web replay case as well.

Component: Web Replay → Debugger
Product: Core → DevTools
Priority: -- → P3

I'm interested in working on this if it's available, please.

Flags: needinfo?(jlaster)
Flags: needinfo?(jlaster)

Depends on D57205

Assignee: nobody → wartmanm
Status: NEW → ASSIGNED
Pushed by jlaster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e954fcf48719 Add onPop handlers to blackboxed frames r=jlast
Pushed by jlaster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b2670c21ed98 Improve performance by not attaching onStep handlers to blackboxed frames r=jlast https://hg.mozilla.org/integration/autoland/rev/a2d268317ed1 Find unblackboxed frame when stepping backwards r=jlast
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: