I want to run gstreamer based program or standard gstreamer utility like gst-play-1.0.exe
under gdb
on Windows. But binaries for Windows doesn't contain debug symbols.
Where I can get debug version of gstreamer libraries?
答案 0 :(得分:2)
事实证明,二进制文件已经包含调试符号。所有都需要 - 正确使用调试器。
例如:要调试gst-play-1.0.exe
,您需要运行:
gdb.exe gst-play-1.0.exe
现在您可以使用任何gdb命令:按info functions
获取所有函数的列表,按breakpoint name_of_function
设置断点,在continue
之后继续在断点之后运行,依此类推。 / p>