From 20c742e47406c13ebc6427951f6fcf1b0056ea26 Mon Sep 17 00:00:00 2001 From: obscuren Date: Sat, 18 Oct 2014 13:31:20 +0200 Subject: Moved ethvm => vm --- vm/debugger.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vm/debugger.go (limited to 'vm/debugger.go') diff --git a/vm/debugger.go b/vm/debugger.go new file mode 100644 index 000000000..fdd5e34e2 --- /dev/null +++ b/vm/debugger.go @@ -0,0 +1,10 @@ +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) +} -- cgit v1.2.3