From 05fd1dafe2c90d2acec4c2ea8619d8f656934a77 Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 12 Dec 2014 13:26:01 +0100 Subject: additional log --- vm/vm_debug.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'vm/vm_debug.go') diff --git a/vm/vm_debug.go b/vm/vm_debug.go index e9139ae19..8af1979b1 100644 --- a/vm/vm_debug.go +++ b/vm/vm_debug.go @@ -49,8 +49,7 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price * closure := NewClosure(msg, caller, me, code, gas, price) if self.env.Depth() == MaxCallDepth { - closure.UseGas(gas) - + //closure.UseGas(gas) return closure.Return(nil), DepthError{} } @@ -885,7 +884,7 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price * mem.Set(retOffset.Uint64(), retSize.Uint64(), ret) } - self.Printf("resume %x", closure.Address()) + self.Printf("resume %x (%v)", closure.Address(), closure.Gas) // Debug hook if self.Dbg != nil { -- cgit v1.2.3