mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Enable more verbose TVM stack dump (#669)
* Verbose stack dump * Move vm::VmLog::DumpStack and vm::VmLog::DumpStackVerbose to the next verbosity levels
This commit is contained in:
parent
506cd5ee36
commit
86623b4cea
8 changed files with 116 additions and 17 deletions
|
@ -435,7 +435,11 @@ int VmState::step() {
|
|||
CHECK(code.not_null() && stack.not_null());
|
||||
if (log.log_mask & vm::VmLog::DumpStack) {
|
||||
std::stringstream ss;
|
||||
stack->dump(ss, 3);
|
||||
int mode = 3;
|
||||
if (log.log_mask & vm::VmLog::DumpStackVerbose) {
|
||||
mode += 4;
|
||||
}
|
||||
stack->dump(ss, mode);
|
||||
VM_LOG(this) << "stack:" << ss.str();
|
||||
}
|
||||
if (stack_trace) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue