rusty_ffmpeg icon indicating copy to clipboard operation
rusty_ffmpeg copied to clipboard

When I'm trying to debug the C code of FFmpeg, I can perform breakpoint debugging, but I'm unable to obtain the list and values of symbolic variables.

Open vaptu opened this issue 6 months ago • 4 comments

platform: macos 14.0 compiler: Apple clang version 15.0.0 (clang-1500.0.40.1) ffmpeg: 4.4.1 (--enable-debug)

My breakpoints in the Rust code are correct, but once it enters the C code block, although the breakpoint behavior is still fine, it cannot display all the variable lists and variable values in the C code.

I saw this log in the LLVM output: 'warning: test-f3214074073240dc was compiled with optimization - stepping may behave oddly; variables may not be available.'

However, I don't know how to resolve it and seek your help.

vaptu avatar Jul 31 '24 05:07 vaptu