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. <br><br><div class="gmail_quote">2010/8/6 Martin Bisson <span dir="ltr"><<a href="mailto:martin.bisson@gmail.com">martin.bisson@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If you want to use gst-launch, run gdb on gst-launch:<br>
<br>
gdb gst-launch-0.10<br>
<br>
then set the command-line arguments to the appropriate pipeline:<br>
<br>
set args videotestsrc ! ffmpegcolorspace ! autovideosink<br>
<br>
then break wherever you want:<br>
<br>
b gst_myplugin_chain<br>
<br>
It will ask you if you want to set a pending break point on a function<br>
that will be loaded later. Say yes.<br>
<br>
Should do it.<br>
<br>
Mart<br>
<div class="im"><br>
<br>
pvvv wrote:<br>
> Hi<br>
><br>
> I want to debug a gstreamer plugin with GDB, does anybody know how to do it<br>
> ??!!<br>
><br>
> thanks<br>
><br>
<br>
<br>
</div><div class="im">------------------------------------------------------------------------------<br>
This SF.net email is sponsored by<br>
<br>
Make an app they can't live without<br>
Enter the BlackBerry Developer Challenge<br>
</div><a href="http://p.sf.net/sfu/RIM-dev2dev" target="_blank">http://p.sf.net/sfu/RIM-dev2dev</a><br>
<div><div></div><div class="h5">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Your Sincerely<br>Michael Joachimiak<br>