官网的13.12C::B不能debugger提示error5,求助
codeblocks吧
全部回复
仅看楼主
level 1
VeriahKarthus 楼主
使用的是13.12版本的C::B,通过官网下载的,系统是window 8.1
编译器是GNU GCC Compiler
设置断点以后不能调试,不出现黑框,只有watch窗弹出来一下又消失
下方提示
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: D:\T022\
Adding source dir: D:\T022\
Adding file: D:\T022\bin\Debug\T022.exe
Changing directory to: D:/T022/.
Set variable: PATH=.;D:\CodeBlocks\MinGW\bin;D:\CodeBlocks\MinGW;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;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\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\Lenovo\Motion Control;C:\Program Files (x86)\Lenovo\Voice SDK
Starting debugger: D:\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet -args D:/T022/bin/Debug/T022.exe
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.5
Error creating process D:\T022\bin\Debug\T022.exe, (error 5).
Debugger finished with status 0
路径不带汉字和空格,甚至连下划线都没有
设置里面已经调了 -g参数
以前有成功调试的情况,但最近完全不能用了,以前总会弹出“设置已更改是否要保存“之类的对话框也不弹出了,不知道之间有没有什么关系。
请问怎么才能让debugger正常工作orz
2015年01月28日 06点01分 1
level 8
试试重置C::B的设置看看;
有可能是防病毒软件拦截;
2015年01月28日 08点01分 3
关了杀软也不行…如何重置设置?
2015年01月28日 09点01分
@VeriahKarthus 试试在安装CB的路径下, 执行命令行codeblocks.exe --clear-configuration
2015年01月28日 09点01分
@VeriahKarthus 要是我就卸载干净,重新安装一下
2015年01月28日 09点01分
回复
Smilencetion
:没这个命令…重装也不行orz
2015年01月28日 12点01分
level 1
我的同样的问题,请问楼主解决了吗?
2015年06月17日 09点06分 4
解决了吗,我也一样
2016年06月19日 08点06分
回复 双鱼张369 :解决方法是改用vs😂
2016年07月14日 04点07分
level 2
Mister Zuo
2016年07月14日 05点07分 5
level 3
同样问题,求解答
2016年08月01日 01点08分 6
1