Closed
Bug 495134
Opened 16 years ago
Closed 16 years ago
[jsd] No longer able to set breakpoints on lines within functions that have parameters
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 494954
People
(Reporter: morac, Unassigned)
Details
(Keywords: regression)
I noticed today that breakpoints can no longer be set on the vast majority of lines where they should be settable. This is easy to see using the JSD. Simply open browser.js and scroll down. At some point the "-" no longer shows up next to any lines other than function declarations. For example no breakpoints can be set in the function "UpdateBackForwardCommands".
This problem started in the 20090523 trunk load and in the 20090527 1.9.1 branch load. Cross referencing what went into each of those loads means one of the following caused the problem:
Bug 493260, bug 462704 or bug 493512.
Flags: blocking1.9.1?
Comment 1•16 years ago
|
||
Obvious candidate is bug 462704 -- can you test by backing out that fix? Or otherwise finding a build without it? Need to jump on this if it's as bad a regression as it sounds.
Is "the JSD" Venkman or Firebug?
/be
Reporter | ||
Comment 2•16 years ago
|
||
I favored bug 462704 myself, but looking at 493260 and 493512, I couldn't eliminate them as possibilities as I don't know much about the core javascript code.
It would take me a while to build, unless you have a build without bug 462704 lying around.
I originally tested solely with Venkman, but I just tried adding breakpoints in Shiretoko 20090527 using Firebug 1.4X.0a30 at http://www.mozilla.org/projects/minefield/ and I'm seeing the same problem.
I tried putting a few break points in http://www.mozilla.org/__utm.js. Breakpoints set in functions that have no parameters, such as _uDomain() work fine, bug breakpoints set in functions that have parameters, such as _uHash, do not work. In addition those break points show as being in function "undefined" as opposed to the actual function name.
So the problem affects both Venkman and Firebug.
Also it looks like breakpoints only fail to set on lines within functions that have parameters.
Summary: [jsd] No longer able to set breakpoints on most lines inside functions → [jsd] No longer able to set breakpoints on lines within functions that have parameters
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Comment 5•16 years ago
|
||
(actually not the right approach; if this is a straight dupe (which I don't think it is) then we clear the flag. if it's a similar symptom that is fixed by the dupe then we + it, so that if this turns out to not be entirely fixed by the dupe, it picks up blocking)
Flags: blocking1.9.1+
Comment 6•16 years ago
|
||
FWIW, it's a straight dup.
/be
You need to log in
before you can comment on or make changes to this bug.
Description
•