Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Adding a Watch for Maxon variables in VC C++

    Cinema 4D SDK
    2
    4
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pim
      last edited by

      How can I, in VC C++, add a watch for a maxon defined type.

      For example, I like to add a watch for the variable myLoggerLine.

      String myLoggerLine;
      myLoggerLine = "Test line"_s;
      
      1 Reply Last reply Reply Quote 0
      • P
        pim
        last edited by

        In the old forum asked the same question and I got this answer:
        "You need to go to http://www.maxon.net/support/developer-support.html and click 'Additional Downloads' then get the 'C4D Typeview for Visual Studio 2010' archive. Install that (instructions in the zip) and you will be able to see the string content in the VS windows."

        Is there something simular for R20 and vs2015?

        1 Reply Last reply Reply Quote 0
        • M
          mp5gosu
          last edited by mp5gosu

          Yes, see here: https://developers.maxon.net/docs/cpp/2023_2/page_maxonapi_dev_windows.html
          You can either include them in your project or add them directly to your VS Visualizers.

          By the way, keep in mind that you can only add new watches when in break mode.

          1 Reply Last reply Reply Quote 1
          • P
            pim
            last edited by

            Thank you.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post