Search code examples
objective-cxcodevlc

How can I debug VLC on Mac?


I want to add a little feature to VLC only on Mac.

How can I build and debug it? May I use Xcode? Or I should use something different? I download sources from github, I can see Mac OS gui module. But how can I debug it?


Solution

  • It seems that @feepk's answer is outdated. You can use Xcode to debug VLC on macOS.

    1. Follow the instructions to build VLC.
    2. Launch the built VLC.app.
    3. Open the Xcode project: vlc/extras/package/macosx/VLC.xcodeproj
    4. Click Debug -> Attach to Process and choose VLC.