#include "aprobe.h" Probe thread { probe "MyRoutine::DoSomething" { on_line(32) ap_ThrowCppStringException("Application Error"); } }