1. A method for tracing execution of application code, comprising: during the execution of the application code, writing trace statements to a circular trace buffer by a computing device; determining whether a pre-defined trigger event has occurred by the computing device; in response to determining that the trigger event has occurred, outputting one or more trace statements in the circular trace buffer by the computing device according to pre-defined trace parameters; determining whether a trigger end event has occurred by the computing device; and in response to determining that the trigger end event has occurred, terminating the outputting of the trace statements by the computing device.