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

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)
}