You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TVM logs are important information that allows implementing a time-travel debugger. For such a debugger to be as useful as possible, stack dump should be as detailed as possible.
Sadly when dumping tuples, verbose flag is lost, which leads to a loss of information.
If this is a bug and not intentional, I will create a PR :)
// crypto/vm/stack.cpp:154case t_tuple: {
constauto& tuple = *static_cast<Ref<Tuple>>(ref);
auto n = tuple.size();
if (!n) {
os << "[]";
} elseif (n == 1) {
os << "[ ";
tuple[0].dump(os);
// ^^ here
os << " ]";
} else {
os << "[ ";
for (constauto& entry : tuple) {
entry.dump(os);
// ^^ and here
os << '';
}
os << ']';
}
break;
TVM logs are important information that allows implementing a time-travel debugger. For such a debugger to be as useful as possible, stack dump should be as detailed as possible.
Sadly when dumping tuples,
verbose
flag is lost, which leads to a loss of information.If this is a bug and not intentional, I will create a PR :)
See
https://github.com/ton-blockchain/ton/blob/master/crypto/vm/stack.cpp#L154-L171
The text was updated successfully, but these errors were encountered: