aboutsummaryrefslogtreecommitdiffstats
path: root/vm/debugger.go
blob: b0d0e545d56a9885cb3774ac10b1f7f9c6b39349 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
package vm

import "github.com/ethereum/go-ethereum/ethstate"

type Debugger interface {
    BreakHook(step int, op OpCode, mem *Memory, stack *Stack, object *ethstate.StateObject) bool
    StepHook(step int, op OpCode, mem *Memory, stack *Stack, object *ethstate.StateObject) bool
    BreakPoints() []int64
    SetCode(byteCode []byte)
}