#include <iostream>
#include <sstream>
#include "YacsTrace.hxx"
#include <cstdlib>
#include <chrono>
#include <iomanip>
#include <ctime>
#include <unistd.h>
Go to the source code of this file.
◆ AttachDebugger()
Definition at line 52 of file YacsTrace.cxx.
53{
54 if(getenv ("YACSDEBUGGER"))
55 {
56 std::stringstream exec;
57 exec << "$YACSDEBUGGER " << getpid() << "&";
58 std::cerr << exec.str() << std::endl;
59 system(exec.str().c_str());
60 while(1);
61 }
62}
Referenced by YACS::ENGINE::RefCounter::~RefCounter().