mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-12 20:41:26 -07:00
make eval ctxs more robust to missing info, e.g. in the test harness case
This commit is contained in:
@@ -41,6 +41,7 @@ entry_point(CmdLine *cmdline)
|
||||
str8_lit("123"),
|
||||
str8_lit("1 + 2"),
|
||||
str8_lit("foo"),
|
||||
str8_lit("foo(bar)"),
|
||||
};
|
||||
for EachElement(idx, exprs)
|
||||
{
|
||||
@@ -82,6 +83,10 @@ entry_point(CmdLine *cmdline)
|
||||
{
|
||||
raddbg_log(" (%I64u)", expr->value.u64);
|
||||
}break;
|
||||
case E_ExprKind_LeafIdentifier:
|
||||
{
|
||||
raddbg_log(" (`%S`)", expr->string);
|
||||
}break;
|
||||
}
|
||||
raddbg_log("\n");
|
||||
Task *last_task = t;
|
||||
@@ -153,5 +158,6 @@ entry_point(CmdLine *cmdline)
|
||||
}
|
||||
}
|
||||
|
||||
raddbg_log("\n");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user