public static void frameErrorWithoutPopping ( String error ) { TracyThreadContext ctx = threadContext . get ( ) ; if ( isValidContext ( ctx ) ) { ctx . annotateFrameError ( error ) ; } }
In case where an error occurs but the user does not want to raise an exception and the user takes responsibility of ensuring Tracy . after is guaranteed to be called then frameErrorWithoutPoping can be called to simply create an error annotation