[gst-devel] How to make a debug build of gstreamer and its plugins?

Qin Chen eric.qin.chen at gmail.com
Fri Oct 23 20:44:30 CEST 2009


Hi,

Try ./configure CFLAGS='-g -O0'. I've used this to get a debug build.

Regards,

Qin


On Fri, Oct 23, 2009 at 11:28 AM, Yiliang Bao <yiliangb at gmail.com> wrote:

>
> Hi,
>
> I stepped in the gstreamer source code, but sometimes the debugger pointed
> to some totally unrelated locations and many local variables are optimized
> out.
>
> How can I make a debug build to get more accurate debugging information?
>
> I checked configure script. It seems that by default debug is already
> enabled, but I have to admit that I am new to linux, and do not quite
> understand things like configure, and makefile generation.
>
> Thanks,
> Yiliang
>
> --
> View this message in context:
> http://www.nabble.com/How-to-make-a-debug-build-of-gstreamer-and-its-plugins--tp26031180p26031180.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20091023/bab9a4fa/attachment.htm>


More information about the gstreamer-devel mailing list