mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
new db
new database fift/func bugfixes
This commit is contained in:
parent
950e292264
commit
e30d98eb30
110 changed files with 6102 additions and 2075 deletions
|
@ -74,7 +74,8 @@ int exec_dump_stack(VmState* st) {
|
|||
d = 255;
|
||||
}
|
||||
for (int i = d; i > 0; i--) {
|
||||
std::cerr << stack[i - 1].to_string() << " ";
|
||||
stack[i - 1].print_list(std::cerr);
|
||||
std::cerr << ' ';
|
||||
}
|
||||
std::cerr << std::endl;
|
||||
return 0;
|
||||
|
@ -85,7 +86,9 @@ int exec_dump_value(VmState* st, unsigned arg) {
|
|||
VM_LOG(st) << "execute DUMP s" << arg;
|
||||
Stack& stack = st->get_stack();
|
||||
if ((int)arg < stack.depth()) {
|
||||
std::cerr << "#DEBUG#: s" << arg << " = " << stack[arg].to_string() << std::endl;
|
||||
std::cerr << "#DEBUG#: s" << arg << " = ";
|
||||
stack[arg].print_list(std::cerr);
|
||||
std::cerr << std::endl;
|
||||
} else {
|
||||
std::cerr << "#DEBUG#: s" << arg << " is absent" << std::endl;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue