The main() function is in fftools/ffmpeg.c I think you can set a breakpoint there for a first test. Maybe set it at line 4869 where show_banner(argc, argv, options); is called, so you can test what happens when jumping in. For first try just run ./ffmpeg_g (stands for gdb and includes symbols) without arguments or try ./ffmpeg_g --version.
Curious if that works. -Ulf Am 04.07.19 um 18:35 schrieb Geertjan Wielenga: > OK, I ran ./configure and then built in NetBeans, so now I have > binaries and I can run them etc. Where do I need to place a breakpoint > when trying to set up the Debugger? > > Gj > > On Thu, Jul 4, 2019 at 4:56 PM Geertjan Wielenga <geert...@apache.org > <mailto:geert...@apache.org>> wrote: > > Maybe you can provide instructions on the site about how to set up > the sources so they can be run in NetBeans (and then once I have > that working, I'll work on how to debug from there, using GNU > debugger on Mac, which I have working now for standard C/C++ > projects, but can't start applying to your project until I have > set it up correctly in the way that you have it). > > Gj > > On Thu, Jul 4, 2019 at 12:43 PM Ulf Zibis <ulf.zi...@cosoco.de > <mailto:ulf.zi...@cosoco.de>> wrote: > > Hey Geertjan, > > this is a great offer, thanks. > Here the Git clone command: git clone > https://git.ffmpeg.org/ffmpeg.git ffmpeg > > The documentations for developers: > https://ffmpeg.org/developer.html > > Did you get my current settings in the attachment from my > other thread 2 days ago? > > -Ulf > > Am 04.07.19 um 12:31 schrieb Geertjan Wielenga: >> I’ll look into it if you provide the starting point of an >> application on GitHub, i.e., the sources that are to be >> imported as a C/C++ project. Then I’ll have a scenario to use >> as a starting point to figure this out. >> >> Gj >> >> On Thu, 4 Jul 2019 at 12:28, Ulf Zibis <ulf.zi...@cosoco.de >> <mailto:ulf.zi...@cosoco.de>> wrote: >> >> Hi, >> >> I'm wondering if there would be a tutorial on how to >> configure a C/C++ >> "Project from existing sources" to enable the debugger >> facility of >> NetBeans IDE. >> >> With a project created from the inbuild NetBeans >> templates it works >> fine, but not with a "Project from existing sources". >> >> Can one give me some hints please? >> >> -Ulf >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: >> users-unsubscr...@netbeans.apache.org >> <mailto:users-unsubscr...@netbeans.apache.org> >> For additional commands, e-mail: >> users-h...@netbeans.apache.org >> <mailto:users-h...@netbeans.apache.org> >> >> For further information about the NetBeans mailing lists, >> visit: >> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >>