plugeth/vm/debugger.go
2014-10-18 13:31:20 +02:00

11 lines
322 B
Go

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