[gst-devel] Debug with gstreamer plugin with gdb

Martin Bisson martin.bisson at gmail.com
Thu Aug 5 23:23:47 CEST 2010


If you want to use gst-launch, run gdb on gst-launch:

gdb gst-launch-0.10

then set the command-line arguments to the appropriate pipeline:

set args videotestsrc ! ffmpegcolorspace ! autovideosink

then break wherever you want:

b gst_myplugin_chain

It will ask you if you want to set a pending break point on a function 
that will be loaded later.  Say yes.

Should do it.

Mart


pvvv wrote:
> Hi
>
> I want to debug a gstreamer plugin with GDB, does anybody know how to do it
> ??!!
>
> thanks
>   





More information about the gstreamer-devel mailing list