2014-10-18 06:31:20 -05:00
|
|
|
package vm
|
2014-10-14 04:48:52 -05:00
|
|
|
|
2014-10-31 08:43:14 -05:00
|
|
|
import "github.com/ethereum/go-ethereum/state"
|
2014-10-14 04:48:52 -05:00
|
|
|
|
|
|
|
type Debugger interface {
|
2014-10-31 08:43:14 -05:00
|
|
|
BreakHook(step int, op OpCode, mem *Memory, stack *Stack, object *state.StateObject) bool
|
|
|
|
StepHook(step int, op OpCode, mem *Memory, stack *Stack, object *state.StateObject) bool
|
2014-10-14 04:48:52 -05:00
|
|
|
BreakPoints() []int64
|
|
|
|
SetCode(byteCode []byte)
|
|
|
|
}
|