[gst-devel] Debug with gstreamer plugin with gdb

Michael Joachimiak mjoachimiak at gmail.com
Fri Aug 6 11:57:35 CEST 2010


You can do it also using some IDE (eclipse, qt creator, codeblocks). To
create simple pipeline you can use gst_parse_launch and then have a
breakpoint wherever you want in C file.

2010/8/6 Martin Bisson <martin.bisson at gmail.com>

> 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
> >
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Your Sincerely
Michael Joachimiak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100806/316a977f/attachment.htm>


More information about the gstreamer-devel mailing list