go-ethereum/vm/debugger.go

11 lines
322 B
Go
Raw Normal View History

2014-10-18 14:31:20 +03:00
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)
}