Add caller type (sub, eval or FORMAT) to stack trace.