macOS packages do not ship debug symbol files *.dsym
And hence there's no debugging information at all. All the frames in lldb are assembly.
To test, write a simple gstreamer program, add a g_abort()
anywhere, and run it under lldb
.
This doesn't happen when building with gstreamer.git and using the development environment. Of course things break once you install gstreamer and try to use it from a prefix.
Here's what needs to be done:
- Open a Meson pull request that adds support for installing
*.dSYM
files. You can look at how*.pdb
files are handled for MSVC (Visual Studio) builds on Windows to check what to do. This should fix debugging symbols when installing from a gstreamer.git prefix - Figure out how to merge
*.dSYM
files. It's possible that the existing binary merging code will work as-is for these files once you tell it to look for those too. This should fix debugging symbols for a universal build cerbero shell. - Tell the cerbero filesprovider about the
*.dSYM
files so that these files are packaged correctly. You can again look at how*.pdb
files are handled for MSVC on Windows. This should fix debugging symbols for a gstreamer framework installed from a package.
Edited by Nirbheek Chauhan