diff --git a/main/lib/debug/debug.c b/main/lib/debug/debug.c index a2ad36579..aa1a562be 100644 --- a/main/lib/debug/debug.c +++ b/main/lib/debug/debug.c @@ -1070,6 +1070,10 @@ const char *DEBUG_get_position(CLASS *cp, FUNCTION *fp, PCODE *pc) return "?"; class_name = cp->name; + + while (*class_name == '^') + class_name++; + if (cp->component) comp_name = cp->component->name; else