Open bunnyirsa opened 4 years ago
As I wrote in the readme, you can use https://github.com/lvsti/Cameo (or other webcam-using apps that can be run from Xcode) for debugging. The plugin runs in the same process, thus you can debug the plugin in the same way as you debug Cameo.
/Library/CoreMediaIO/Plug-Ins/DAL
@seanchas116 What do you mean by "Open the plugin sources you want to debug in the same window". I got the Cameo running but how will it hit the breakpoints in SimpleDALPlugin project? Can you please simplify the steps? I tried attaching the to process id of Cameo but that did not work. Thanks!
Got the answer: Just add the project to the cameo project. Breakpoints will hit.
Can somebody explain more in detail? How to run Cameo (in a debug mode) from xcode -- I cannot make breakpoints hit. Do I need to copy the debug build of the DAL plugin every time? Can we do it automatically in two xcode projects? How can I debug the plugin by building directly from xcode and run it (without the copy step)?
I ran the example successfully, but I don't know how to debug the plugin?