Class Ruva::Utils::ProcTracer
In: lib/ruva/utils/exec_trace.rb
Parent: Object

Passes the execution trace of a VM to the supplied (four-argument) proc.

Methods

new   trace  

Public Class methods

[Source]

    # File lib/ruva/utils/exec_trace.rb, line 66
66:       def initialize(&blk)
67:         @blk = blk or raise "No block supplied"
68:       end

Public Instance methods

[Source]

    # File lib/ruva/utils/exec_trace.rb, line 70
70:       def trace(frame, noperands, opnum, operands) 
71:         @blk[frame, noperands, opnum, operands]        
72:       end

[Validate]