Exemplo n.º 1
0
void
CliContext::DebugReportChanged(const Team::DebugReportEvent& event)
{
	if (event.GetFinalStatus() == B_OK) {
		printf("Successfully saved debug report to %s\n",
			event.GetReportPath());
	} else {
		fprintf(stderr, "Failed to write debug report: %s\n", strerror(
				event.GetFinalStatus()));
	}

	_QueueEvent(new(std::nothrow) Event(EVENT_DEBUG_REPORT_CHANGED));
	_SignalInputLoop(EVENT_DEBUG_REPORT_CHANGED);
}