зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1547084 Part 5 - Debugger changes for new control logic, r=loganfsmyth.
--HG-- extra : rebase_source : 800196b6c73dec30db3afa0b3a5d87acbfd76e5e
This commit is contained in:
Родитель
27c0a0fcda
Коммит
e6398fa3d4
|
@ -859,7 +859,11 @@ const ThreadActor = ActorClassWithSpec(threadSpec, {
|
|||
olderFrame = olderFrame.older;
|
||||
}
|
||||
if (olderFrame) {
|
||||
olderFrame.setReplayingOnStep(onStep, [olderFrame.offset]);
|
||||
// Set an onStep handler in the older frame to stop at the call site.
|
||||
// Make sure the offsets we use are valid breakpoint locations, as we
|
||||
// cannot stop at other offsets when replaying.
|
||||
const offsets = this._findReplayingStepOffsets({}, olderFrame, true);
|
||||
olderFrame.setReplayingOnStep(onStep, offsets);
|
||||
}
|
||||
} else {
|
||||
stepFrame.onPop = onPop;
|
||||
|
|
Загрузка…
Ссылка в новой задаче