close(fds[1]);
}
-void GlDbg::quit()
+void GlDbg::quit(bool force)
{
- if(process.get_state()!=Process::INACTIVE)
+ if(!force && process.get_state()!=Process::INACTIVE)
throw InvalidState("Program is still running");
exit(0);
}
break;
tracer.decode(data, len);
glstate.decode(data, len);
+ profiler.decode(data, len);
buf_offset += size;
}
if(buf_offset>8192)