|
|
@ -61,7 +61,9 @@ class BreakpointManager { |
|
|
|
// depthChange -> returning from an external call
|
|
|
|
// depthChange -> returning from an external call
|
|
|
|
// sourceLocation.start <= previousSourceLocation.start && ... -> previous src is contained in the current one
|
|
|
|
// sourceLocation.start <= previousSourceLocation.start && ... -> previous src is contained in the current one
|
|
|
|
if (helper.isJumpDestInstruction(self.debugger.traceManager.trace[currentStep]) && previousSourceLocation.jump === 'o' || |
|
|
|
if (helper.isJumpDestInstruction(self.debugger.traceManager.trace[currentStep]) && previousSourceLocation.jump === 'o' || |
|
|
|
depthChange(currentStep, self.debugger.traceManager.trace)) { |
|
|
|
depthChange(currentStep, self.debugger.traceManager.trace) || |
|
|
|
|
|
|
|
(sourceLocation.start <= previousSourceLocation.start && |
|
|
|
|
|
|
|
sourceLocation.start + sourceLocation.length >= previousSourceLocation.start + previousSourceLocation.length)) { |
|
|
|
return false |
|
|
|
return false |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
self.debugger.stepManager.jumpTo(currentStep) |
|
|
|
self.debugger.stepManager.jumpTo(currentStep) |
|
|
|