Closed
Bug 1165372
Opened 10 years ago
Closed 10 years ago
debugger switches to the wrong file when a breakpoint is hit
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(firefox41 affected)
RESOLVED
WORKSFORME
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | affected |
People
(Reporter: tromey, Unassigned)
Details
(Keywords: regression)
I ran into a situation where the debugger stops at a breakpoint,
but inexplicably switches to display a file other than the one
where the breakpoint is hit.
FWIW this problem seems to have been introduced since May 14,
a build based on this worked:
commit a64814de718ce4db4d55cfafdc154e21049da429
Author: Martyn Haigh <mhaigh@mozilla.org>
Date: Thu May 14 12:31:47 2015 +0100
To reproduce, create two files.
index.html:
DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="z.js" type="text/javascript"></script>
<title>index</title>
</meta>
</head>
<body onload="onload()">
HI bob
</body>
</html>
z.js:
function onload() {
console.log("hi");
}
Now open index.html and then open the debugger.
Once it is up, select z.js.
Set a breakpoint in the body of onload().
Reload the page.
What I see is that the debugger switches to view index.html.
However, it is actually stopped in the onload() function.
This becomes clear if you switch back to view z.js.
Updated•10 years ago
|
Keywords: regression,
regressionwindow-wanted
Comment 1•10 years ago
|
||
FWIW I'm not seeing this on fx-team
| Reporter | ||
Comment 2•10 years ago
|
||
I updated to an even newer fx-team and it works now.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Updated•10 years ago
|
Keywords: regressionwindow-wanted
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•