Chromium Code Reviews
DescriptionDevTools: fix exception when setting a breakpoint in sourcemap source
The following scenario takes place on reload:
1. The breakpoint gets hit in dist.js
2. The dist.js has a sourceMap which is not yet loaded. For this reason,
stubs are created for the sourcemaps sources. SourceMapping gets changed
to actually point to the stub
3. The execution line gets revealed in the stub
4. JavaScriptSourceFrame attempts to put a breakpoint in a stub. However,
since the stub is just a few lines of text, there's no linehandle for the
breakpoint linenumber.
This is essentially an issue inside TextPositionPositionHandle.
BUG=668242
TBR=kozyatinskiy, dgozman
Committed: https://crrev.com/b33d093abe57100f572b4901dbcfac5d5489f121
Cr-Commit-Position: refs/heads/master@{#434262}
Patch Set 1 #
Messages
Total messages: 9 (6 generated)
|
|||||||||||||||||||