新手提问,关于codeblocks
写了作业题的程序,编译连接后可以正常运行了。但这时使用断点(运行到光标处)却无法开始调试,编译器设置中-g和-wall都已经勾选,调试器报错如下:
活动调试器配置:GDB/CDB debugger:Default
正在构建以确保源文件是最新的
选择目标:
Debug
Adding source dir: D:\Mine\2016.4\c\test4.12Exercise6.6\
Adding source dir: D:\Mine\2016.4\c\test4.12Exercise6.6\
Adding file: D:\Mine\2016.4\c\test4.12Exercise6.6\bin\Debug\test4.12Exercise6.exe
Changing directory to: D:/Mine/2016.4/c/test4.12Exercise6.6/.
Set variable: PATH=.;C:\Program Files (x86)\CodeBlocks\MinGW\bin;C:\Program Files (x86)\CodeBlocks\MinGW;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\System32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit
启动调试器: F:\Program Files (x86)\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet -args D:/Mine/2016.4/c/test4.12Exercise6.6/bin/Debug/test4.12Exercise6.exe
失败
那么请问这是什么原因呢,调了很长时间没有解决。