diff --git a/library/DFProcess.cpp b/library/DFProcess.cpp index 857972e60..91a914f9f 100644 --- a/library/DFProcess.cpp +++ b/library/DFProcess.cpp @@ -122,7 +122,15 @@ bool Process::attach() { status = kill(my_handle,SIGSTOP); cout << "sent SIGSTOP" << endl; - if(status != -1) break; + if(status != -1) + { + break; + } + else + { + perror("kill(SIGSTOP)"); + cin.ignore(); + } } while (!isStopped(my_handle)) {