cbexaminr:
Can you explain the steps needed to reproduce the bug you try to fix with the attachpause.2.patch ?
On windows, Start c::b, attach to a process that you do not have a project open for, but which has been previously started outside of c::b. An initial break will occur (on windows at least) as a result of the initial attachment. Continue the target process from c::b. Then attempt to 'pause' the running process (I was using the toolbar icon, don't think I tried the menu option.)
(Codewise, the process is not paused, because m_Pid is not populated for an attached process, and a child is not found to attempt the 'break' on.)
I'm assuming similar circumstances would occur on Linux as well, assuming m_Pid and m_AttachToPid are handled the same as windows, but I didn't actually explore this outside of DoBreak().
The disassembly patch seems to cause the output command for the tooltip to be executed 3 time, can you investigate that?
OK, I'll see what happens to me on windows.
p.s. I'm running gentoo linux amd64, if this can make a difference
Don't know, could be some difference.