I just started using Qt Creator in Ubuntu via a VM on Windows. I created a plain non-Qt C project using the Creator. When I tried to debug the project, I got an error message describing a prblem as below:
"ptrace: Operation not permitted.
Could not attach to the process. Make sure no other debugger traces this process.
Check the settings of
For more details, see /etc/sysctl.d/10-ptrace.conf"
The system environment is set as below:
Native OS: Windows 7 (64 bit)
Qt: 4.8.3 (64 bit)
Compiler: GCC (x86 64 bit)
Debugger: GDB 7.4-2012.04, configured as x86_64-linux-gnu
The program was built and run properly without debugging mode.
I look forward to any hints/ideas on how to fix the the problem.
Thanks in advance.