
Use TypeViewer for VisualStudio and Xcode For new parameters beginning with “ g_” there is no prefix “-“, neither in Visual Studio or Xcode nor on commandline. Note the “-” in front of some parameters. But in order to make use of the Debug mode (explained next), you will need to have Working Directory point to the directory, where the Cinema 4D executable is located (absolute path, the trailing backslash is important) and only have the name of the Cinema 4D executable as Command, like it is shown in the following screenshot. Unfortunately Working Directory can not be a relative path. Especially with R16 where you can move your projects anywhere you like.įor versions before Cinema 4D R15 I suggest to use both options marked by 1 in the screenshot: Command and Working Directory. \.\.\Cinema 4D.exe (R16), although the path may depend on your system and project location. Menu: Project → Properties → Configuration Properties → Debuggingįor Cinema 4D R15 and following it is sufficient to simply select your Cinema 4D executable for Command. In order to have Cinema 4D started, once you click the “Debug” button, you need to set the path to the Cinema 4D executable.ĭepending on your Cinema 4D version, operating system and the IDE in use it’s a bit different.Įnter the project properties and go to Debugging settings, like so: Most of it is already set correctly by default (assuming you are using the project files delivered with the SDK). Preparing Your Toolbox Start Cinema 4D Automatically With Your DebuggerĪt first you’ll want to configure your project for debugging. If there’s a place this is not the case, please let me know and I will try to cover the differences. While the screenshots in this article are taken from Visual Studio 2013 and Xcode 6.0.1, everything shown and said should work in Visual Studio 2012 and Xcode 5.x or 6.1.x as well. I will start with setting up your environment for an increased fun in debugging, then go over to some general debugging techniques, before finishing with some more Cinema 4D specific techniques.

Addressing mainly the beginners in plugin development, I still hope, to have one or two tricks for the veterans as well. The following article will be all around debugging your Cinema 4D plugins. Creating a new plugin project in Visual Studio.

