From 9dfe3e2096241b14907764a03441d2e82eaf2c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 1 Nov 2009 09:58:49 +0000 Subject: [PATCH] voodoo --- library/DFProcess.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/library/DFProcess.cpp b/library/DFProcess.cpp index 1e0165d67..eeaba0652 100644 --- a/library/DFProcess.cpp +++ b/library/DFProcess.cpp @@ -120,7 +120,11 @@ bool Process::attach() if(!isStopped(my_handle)) { kill(my_handle,SIGSTOP); - while (!isStopped(my_handle)); + cout << "sent SIGSTOP" << endl; + while (!isStopped(my_handle)) + { + cout << "wait step" << endl; + } } usleep(10000); cout << "Attach: after conditional stop" << endl;