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)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: sheppy, Unassigned)
Details
Attachments
(1 file)
82.18 KB,
image/png
|
Details |
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.
Updated•8 years ago
|
Priority: -- → P2
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 1•5 years ago
|
||
Would you mind re-testing this and seeing if it is still happening?
Flags: needinfo?(odvarko)
Flags: needinfo?(eshepherd)
Updated•5 years ago
|
Priority: P2 → P3
Comment 2•5 years ago
|
||
I can't reproduce the issue.
Here is what I am doing:
- Load https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/ondevicechange#Result
- Open DevTools Toolbox
- Use
Select an iframe as the currently targeted document
button in Toolbox's toolbar to pick: id="frame_Example" - Switch to the Debugger panel
- You should see
Example
JS source file in the Sources (left) side panel - Select the source, create BP on line 84 (in 'startButton' click listener) and click the
Start
button on the page - The BP should hit -> works for me
Does this work for you?
If not, what are your steps?
Honza
Flags: needinfo?(odvarko)
Reporter | ||
Comment 3•5 years ago
|
||
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.
Description
•