level 1
使用的是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
编译器是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