make TRACE_STUB throw exceptions instead of silently being used
record RESOLVED_CALL to the right trace to be accessible to backend