关于code::blocks 调试的问题。
codeblocks吧
全部回复
仅看楼主
level 1
hunauking 楼主
用code::block 编译ffmpeg,新建的工程名字就是ffmpeg,我的makefile只生成ffplay,我想调试ffplay.
结果调试的时候log如下:
uilding to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: D:\mingw\msys\1.0\home\ffmpeg-2.3.2-s\ffmpeg\
Adding source dir: D:\mingw\msys\1.0\home\ffmpeg-2.3.2-s\
Adding file: D:\mingw\msys\1.0\home\ffmpeg-2.3.2-s\ffmpeg\bin\Debug\ffmpeg.exe
Changing directory to: D:/mingw/msys/1.0/home/ffmpeg-2.3.2-s/ffmpeg/.
Set variable: PATH=.;D:\mingw\bin;D:\mingw;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\TortoiseSVN\bin;D:\Java\jdk1.8.0_11\bin;D:\Java\jdk1.8.0_11\jre\bin;D:\mingw\msys\1.0\local\bin;D:\mingw\msys\1.0\bin;D:\Java\jre8\bin
Starting debugger: D:\mingw\bin\gdb.exe -nx -fullname -quiet -args D:/mingw/msys/1.0/home/ffmpeg-2.3.2-s/ffmpeg/bin/Debug/ffmpeg.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.6.1
Starting the debuggee failed: No executable specified, use `target exec*.
Debugger finished with status 0
意思就是说没有找到调试的目标,它默认的目标就是跟工程名一样的程序,难道不能指定要调试的目标吗,找了半天找不到。
2014年11月04日 06点11分 1
level 1
楼主 请问你的问题解决没?
2015年04月12日 15点04分 2
我的也有这个问题,win10系统
2015年12月23日 01点12分
level 2
直接用windbg吧,一劳永逸,把PDB文件放到exe目录下就实现了源码级调试
2015年04月12日 20点04分 3
1