fix stopping at breakpoing

pull/2156/head
yann300 3 years ago
parent 9f9c4118b2
commit ca8d4ab215
  1. 2
      libs/remix-debug/src/code/breakpointManager.ts

@ -114,7 +114,7 @@ export class BreakpointManager {
}
if (this.hasBreakpointAtLine(sourceLocation.file, lineColumn.start.line)) {
lineHadBreakpoint = true
if (direction === 1 && this.hitLine(currentStep, sourceLocation, previousSourceLocation, trace)) {
if (this.hitLine(currentStep, sourceLocation, previousSourceLocation, trace)) {
return
}
}

Loading…
Cancel
Save