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

import "github.com/ethereum/eth-go/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)
}