2014-10-18 14:31:20 +03:00
|
|
|
package vm
|
2014-10-14 12:48:52 +03:00
|
|
|
|
2014-10-23 16:01:27 +03:00
|
|
|
import "github.com/ethereum/go-ethereum/ethstate"
|
2014-10-14 12:48:52 +03:00
|
|
|
|
|
|
|
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)
|
|
|
|
}
|