11 lines
322 B
Go
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)
|
||
|
}
|