Пример #1
0
	string getParentMethod()
	{
		Backtrace b;
		b.setFramesToCapture(3);
		b.capture();
		return b[0].sym;
	}
Пример #2
0
	string showBacktrace()
	{
		Backtrace tmp = Backtrace();
		tmp.capture();
		return tmp.dump();
	}