Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. StefanGMBG
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    StefanGMBG

    @StefanGMBG

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    StefanGMBG Unfollow Follow

    Latest posts made by StefanGMBG

    • Debugging Cinema 4D in code editor

      Hey there. I started working on some project which uses custom Cinema 4D plugin written in Python and I'm new in this. There is many lines of code in that plugin, I'm trying to get some debugging functionality in Visual Studio Code (or PyCharm), so on some actions on that plugin in Cinema 4D (like button click etc.), I want to debug it in code editor. I was looking for the answer, found some configuration in python plugin in debugging mode topic, also tried with ChatGPT, but unsuccessfully.

      Let's assume I have project my-project in C:\Users\Stefan\AppData\Roaming\Maxon\Maxon Cinema 4D R25_63FF7547\plugins folder.
      In that project there is src folder, and in that folder there is my-plugin.pyp and res folder with all necessary files.

      Also, I have c4dpy.exe in D:\Program Files\Maxon Cinema 4D R25 folder.

      Can someone explain me instructions step by step how to get debugging to work in VSC or PyCharm (from which directory in command line I should run install commands), where configuration should be located etc.)?

      Stefan

      posted in Cinema 4D SDK python
      S
      StefanGMBG