add Tracepoint and update CMakeLists.txt
replace exit(0) with std::quick_exit(0)