Merge pull request #1292 from ethereum/fix/#1214

internal function call handling
pull/7/head
yann300 5 years ago committed by GitHub
commit 307195249c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      remix-analyzer/tasks.todo
  2. 6
      remix-debug/src/debugger/stepManager.js

@ -0,0 +1 @@
- [] remix-debug: Add tests for debugger (stepOverForward)

@ -122,7 +122,11 @@ class DebuggerStepManager {
stepOverForward (solidityMode) {
if (!this.traceManager.isLoaded()) return
var step = this.traceManager.findStepOverForward(this.currentStepIndex)
var step = this.currentStepIndex + 1
let scope = this.debugger.callTree.findScope(step)
if (scope && scope.firstStep === step) {
step = scope.lastStep + 1
}
if (solidityMode) {
step = this.resolveToReducedTrace(step, 1)
}

Loading…
Cancel
Save