Qt Creator, ptrace: Operation not permitted. What is the permanent solution?

后端 未结 3 1953
春和景丽
春和景丽 2020-12-22 23:55

While debugging C++ code in Qt creator I get the following error

ptrace: Operation not permitted.

Could not attach to the process. Make sure no         


        
3条回答
  •  滥情空心
    2020-12-23 00:23

    I found the answer that works for me on ubuntu in below link and the credit goes to dstzcxr

    https://askubuntu.com/a/501271/395583

    Just uncheck (or check - run - uncheck if it is for some reason unchecked) the box "Run in terminal" in "Projects" (on the left bar) - "Run" tab - "Run" section.

提交回复
热议问题