我认为我在Qt C ++应用程序中已经破坏了线程关联性的规则。
我收到很多这样的消息:
QBasicTimer::stop: Failed. Possibly trying to stop from a different thread
QBasicTimer::start: Timers cannot be started from another thread
我正在使用DDD / GDB。我可以插入某种陷阱来捕捉这些错误并给我一个回溯吗?理想情况下,在此期间暂停所有其他线程?
我试图停止写入stdout(b write if 1==$rdi
按this),但这不起作用。