Bug 1547084 Part 5 - Debugger changes for new control logic, r=loganfsmyth.

--HG--
extra : rebase_source : 800196b6c73dec30db3afa0b3a5d87acbfd76e5e
This commit is contained in:
Brian Hackett 2019-05-12 13:18:17 -10:00
Родитель 27c0a0fcda
Коммит e6398fa3d4
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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;