fix stopping at breakpoing

pull/5370/head
yann300 3 years ago
parent 5821a6acd4
commit 5ba55c71f5
  1. 2
      libs/remix-debug/src/code/breakpointManager.ts

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

Loading…
Cancel
Save