简体   繁体   English

gstreamer的调试符号

[英]Debug symbols for gstreamer

I want to run gstreamer based program or standard gstreamer utility like gst-play-1.0.exe under gdb on Windows. 我想在Windows的gdb下运行基于gstreamer的程序或标准gstreamer实用程序,例如gst-play-1.0.exe But binaries for Windows doesn't contain debug symbols. 但是Windows的二进制文件不包含调试符号。

Where I can get debug version of gstreamer libraries? 在哪里可以获得gstreamer库的调试版本?

As it turned out, binaries already contain debug symbols. 事实证明,二进制文件已经包含调试符号。 All is needed - use debugger correctly. 全部都需要-正确使用调试器。

For example: to debug gst-play-1.0.exe you need to run: 例如:要调试gst-play-1.0.exe您需要运行:

gdb.exe gst-play-1.0.exe gdb.exe gst-play-1.0.exe

For now you can use any of gdb commands: get list of all functions by info functions , set breakpoints by breakpoint name_of_function , continue to run after breakpoint by continue and so on. 现在你可以使用任何gdb命令的:通过获得的所有功能列表info functions ,通过设置断点breakpoint name_of_function ,继续断点后,运行continue等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM