Add --debug-trace=all for detailed debug output
When tracing execution, print the whole stack, not just the items used by the current opcode
This commit is contained in:
1 parent
c8a2a0acc2
commit
94035be3fa
3 files changed
+18
-9
No files matched your search
@@ -475,6 +475,10 @@ int main(int argc, char* argv[]) {
|
||||
options |= DUMP_DISASM;
|
||||
continue;
|
||||
}
|
||||
if (isoption(argv[i], 0, "debug-trace=all", &short_opts)) {
|
||||
jq_flags |= JQ_DEBUG_TRACE_ALL;
|
||||
if (!short_opts) continue;
|
||||
}
|
||||
if (isoption(argv[i], 0, "debug-trace", &short_opts)) {
|
||||
jq_flags |= JQ_DEBUG_TRACE;
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user