plugeth/vm/debugger.go

11 lines
327 B
Go
Raw Normal View History

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