Closed Bug 1312112 Opened 8 years ago Closed 5 years ago

Using "Select an iframe..." to pick an MDN live sample to debug results in an empty debugger pane

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: sheppy, Unassigned)

Details

Attachments

(1 file)

Steps to reproduce:

Load a page on MDN which includes a live sample. These are examples where MDN collects the code from the page and presents it in an iframe. One example of this is here:

https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/ondevicechange#Result

I'm trying to debug that, but when I click the "Select an iframe as the currently targeted document" button, I get a debugger pane with nothing in it. No sources to choose from, nothing. There is code in the iframe, so I should be able to debug it.
Priority: -- → P2
Product: Firefox → DevTools

Would you mind re-testing this and seeing if it is still happening?

Flags: needinfo?(odvarko)
Flags: needinfo?(eshepherd)
Priority: P2 → P3
Attached image image.png

I can't reproduce the issue.

Here is what I am doing:

  1. Load https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/ondevicechange#Result
  2. Open DevTools Toolbox
  3. Use Select an iframe as the currently targeted document button in Toolbox's toolbar to pick: id="frame_Example"
  4. Switch to the Debugger panel
  5. You should see Example JS source file in the Sources (left) side panel
  6. Select the source, create BP on line 84 (in 'startButton' click listener) and click the Start button on the page
  7. The BP should hit -> works for me

Does this work for you?
If not, what are your steps?

Honza

Flags: needinfo?(odvarko)

This is in fact working fine for me now.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(eshepherd)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: