2014-10-18 14:31:20 +03:00
|
|
|
package vm
|
2014-10-14 12:48:52 +03:00
|
|
|
|
2014-10-31 15:43:14 +02:00
|
|
|
import "github.com/ethereum/go-ethereum/state"
|
2014-10-14 12:48:52 +03:00
|
|
|
|
|
|
|
type Debugger interface {
|
2014-10-31 15:43:14 +02: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 12:48:52 +03:00
|
|
|
BreakPoints() []int64
|
|
|
|
SetCode(byteCode []byte)
|
|
|
|
}
|