Re: [FFmpeg-devel] Debugging option
I cannot find any solution from your suggestion, it seems to waste time for me to do invaluable stuff, but finally, I found the way to debug whole project. 1) Ubuntu 14.04 LTS 64 bit 2) Eclipse Mars 64 bit, GDB 7.1, CDT 8.7 3) configuration debug option --disable-stripping --enable-debug=3 --extra-cflags="-gstabs+" --disable-optimizations 4) make 5) make install "make install" is the point for me to debug whole project, if do that all shared libraries are loaded and I don't have to care about shared library loading.. all shared libraries are put in one place. hope this help others with same issue. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] Debugging option
Thank you, how can I use the debug-version of libavformat? Could you show me some more detail? how can I build libavformat debug version? "Please don't top-post. Did you re-build libavformat after changing the config options, and is your build of ffmpeg_g using the debug-version of libavformat (rather than a system version)? Ronald" ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] Debugging option
Thank you, how can I use the debug-version of libavformat? Could you show me some more detail? how can Ibut libavformat debug version? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] Debugging option
Hi, On Wed, Feb 17, 2016 at 5:04 AM, Chau Pham wrote: > I just applied to debug with ffmpeg_g, but no change, debug cannot go into > libavformat code area Please don't top-post. Did you re-build libavformat after changing the config options, and is your build of ffmpeg_g using the debug-version of libavformat (rather than a system version)? Ronald ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] Debugging option
I just applied to debug with ffmpeg_g, but no change, debug cannot go into libavformat code area From: ffmpeg-devel on behalf of Tobias Rapp Sent: Wednesday, February 17, 2016 9:59 AM To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] Debugging option On 17.02.2016 07:55, Chau Pham wrote: > sorry, " debug cannot go outside of ffmpeg.c" > > > From: ffmpeg-devel on behalf of Chau Pham > > Sent: Wednesday, February 17, 2016 6:50 AM > To: FFmpeg development discussions and patches > Subject: [FFmpeg-devel] Debugging option > > Good morning !! > > > I just compiled debug version of ffmpeg in linux ubuntu with eclipse > > > with options: > > > --disable-stripping > > --enable-debug=3 > > --extra-cflags="-gstabs+" > > --disable-optimizations > > > > after compiling ,I can debug ffmpeg.c but only inside ffmpeg.c, debug cannot > go into outside of ffmpeg.c > > > what option can enable debugging go to whole project? > > > Thanks Still with --enable-debug I guess you should use ./ffmpeg_g for debugging. Regards, Tobias ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] Debugging option
On 17.02.2016 07:55, Chau Pham wrote: sorry, " debug cannot go outside of ffmpeg.c" From: ffmpeg-devel on behalf of Chau Pham Sent: Wednesday, February 17, 2016 6:50 AM To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] Debugging option Good morning !! I just compiled debug version of ffmpeg in linux ubuntu with eclipse with options: --disable-stripping --enable-debug=3 --extra-cflags="-gstabs+" --disable-optimizations after compiling ,I can debug ffmpeg.c but only inside ffmpeg.c, debug cannot go into outside of ffmpeg.c what option can enable debugging go to whole project? Thanks Still with --enable-debug I guess you should use ./ffmpeg_g for debugging. Regards, Tobias ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] Debugging option
sorry, " debug cannot go outside of ffmpeg.c" From: ffmpeg-devel on behalf of Chau Pham Sent: Wednesday, February 17, 2016 6:50 AM To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] Debugging option Good morning !! I just compiled debug version of ffmpeg in linux ubuntu with eclipse with options: --disable-stripping --enable-debug=3 --extra-cflags="-gstabs+" --disable-optimizations after compiling ,I can debug ffmpeg.c but only inside ffmpeg.c, debug cannot go into outside of ffmpeg.c what option can enable debugging go to whole project? Thanks ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
[FFmpeg-devel] Debugging option
Good morning !! I just compiled debug version of ffmpeg in linux ubuntu with eclipse with options: --disable-stripping --enable-debug=3 --extra-cflags="-gstabs+" --disable-optimizations after compiling ,I can debug ffmpeg.c but only inside ffmpeg.c, debug cannot go into outside of ffmpeg.c what option can enable debugging go to whole project? Thanks ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel