Kodi Community Forum
How to Debug/Develop PVR addons in OS X? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: How to Debug/Develop PVR addons in OS X? (/showthread.php?tid=224894)



How to Debug/Develop PVR addons in OS X? - dzendian - 2015-04-20

I understand the basic process and I had a working PVR add-on for Frodo, but testing is quite a bear (unless I'm missing something). I want to be able to rapidly iterate on a plugin I'm writing without having to pepper it with debug (XBMC->Log(...)) statements, which may not bear fruit. I'm trying to move from the older Frodo API to the newer Kodi Helix 14.2 API.

Is setting breakpoints even possible with PVR add-on development?

What do you guys use? Eclipse? Xcode? I'm trying to development on a Mac.

Also, I'm having trouble getting kodi-platform to install on my Mac.

I got Kodi built in Xcode, but modifying a plugin and hitting "run" doesn't exactly work with the new changes. Thoughts? Suggestions?


RE: How to Debug/Develop PVR addons in OS X? - ironic_monkey - 2015-04-24

Use -G with cmake to generate an xcode project for the addon.