| 46 | } |
| 47 | |
| 48 | Json::Value Debug::traceTransaction(Executive& _e, Transaction const& _t, Json::Value const& _json) |
| 49 | { |
| 50 | Json::Value trace; |
| 51 | StandardTrace st; |
| 52 | st.setShowMnemonics(); |
| 53 | st.setOptions(debugOptions(_json)); |
| 54 | _e.initialize(_t); |
| 55 | if (!_e.execute()) |
| 56 | _e.go(st.onOp()); |
| 57 | _e.finalize(); |
| 58 | Json::Reader().parse(st.json(), trace); |
| 59 | return trace; |
| 60 | } |
| 61 | |
| 62 | Json::Value Debug::traceBlock(Block const& _block, Json::Value const& _json) |
| 63 | { |
nothing calls this directly
no test coverage detected