It might be nice to have a translator option that inserts tracing calls into the C code, so a programmer wishing to debug his systemtap script can watch it work statement by statement. A naive form could generate a flood of tracing traffic. A smarter form may pass tokens identifying the statement/subexpression in a compact way, relying on stpd to decode it. Think "branch history buffer".
*** Bug 1267 has been marked as a duplicate of this bug. ***
See the way that c->last_stmt is set throughout translated code. A sibling array could accumulate codes that stand for those same points.
This doesn't sound like such a good idea any more.