skip highlight of function definition

pull/7/head
Aniket 5 years ago committed by GitHub
parent 0004fceced
commit b2d4264a5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      remix-debug/src/debugger/stepManager.js

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

Loading…
Cancel
Save