mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
More verbose vm logs, fix parsing slice literals (#1076)
* More verbose VM logs * Fix parsing slice literals in fift
This commit is contained in:
parent
a5521a60aa
commit
28f9a9b159
9 changed files with 56 additions and 29 deletions
|
@ -529,6 +529,13 @@ int VmState::run() {
|
|||
res = vmoog.get_errno(); // no ~ for unhandled exceptions (to make their faking impossible)
|
||||
}
|
||||
if (!parent) {
|
||||
if ((log.log_mask & VmLog::DumpC5) && cstate.committed) {
|
||||
std::stringstream ss;
|
||||
ss << "final c5: ";
|
||||
StackEntry::maybe<Cell>(cstate.c5).dump(ss, true);
|
||||
ss << "\n";
|
||||
VM_LOG(this) << ss.str();
|
||||
}
|
||||
return res;
|
||||
}
|
||||
restore_parent = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue