Debugging ffmpeg ecplise

I use ffmpeg with my application (Ubuntu) to be able to better understand how everything works, I want to be able to debug it, for this I use the following options when compiling. / configure:

  • - disable stripping
  • - enable-debug = 3
  • - extra-CFLAGS = "- gstabs +"

Having this set, I can execute "ffmpeg" using the debugger (gdb), however I cannot evaluate any of the variables, only the position of the code is resolvable ...

What am I doing wrong? why can't i evaluate variables?

Any help would be appreciated.

+8
c ++ ffmpeg gdb
source share
1 answer

The only thing missing was disabling optimization .

+5
source share

All Articles