# GStreamer 调试工具

Source: [https://docs.qualcomm.com/doc/80-70014-50Y/topic/imsdk_debug_gst.html](https://docs.qualcomm.com/doc/80-70014-50Y/topic/imsdk_debug_gst.html)

GST\_DEBUG 是一种调试技术，其中指定一个数字来设置适当的日志级别。

GStreamer 调试输出由 `GST_DEBUG` 环境变量控制。

例如，要记录所有警告，可运行以下命令：

    export GST_DEBUG=2Copy to clipboard

**Parent Topic:** [示例程序](https://docs.qualcomm.com/doc/80-70014-50Y/topic/example-applications.html)

**Related Information**  

- [https://gstreamer.freedesktop.org/documentation/tutorials/basic/debugging-tools.html?gi-language=c](https://gstreamer.freedesktop.org/documentation/tutorials/basic/debugging-tools.html?gi-language=c)

Last Published: Nov 11, 2025

[Previous Topic
视频合成](https://docs.qualcomm.com/bundle/publicresource/80-70014-50Y/topics/gst-weston-composition-example.md) [Next Topic
GStreamer 命令行用例](https://docs.qualcomm.com/bundle/publicresource/80-70014-50Y/topics/gstreamer-application-use-cases.md)