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

    PyDev remote debugging

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 342 Views
    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.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 25/06/2011 at 15:48, xxxxxxxx wrote:

      Hy there,

      I created a PyDev remote setup by these two tutorials:
      http://www.smart-page.net/blog/2011/05/09/advanced-python-plugin-coding-for-cinema-4d/
      http://www.smart-page.net/blog/2011/05/29/debugging-cinema-4d-python-plugins-with-pydev/

      If I now start Cinema the plugin gets loaded succesfully. So pydevd is available. But once I call

      pydevd.settrace()  
        
      Cinema just disappears. The Debug server is started and waiting, but never receives anything.   
      I disabled my firewall, so this shouldn't be the issue.   
        
      My question is now, how can I track down the problem? Is there a log somewhere telling me why Cinema has gone?  
        
      Thank you,   
      maxx  
      
      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 25/06/2011 at 17:03, xxxxxxxx wrote:

        Never mind ... just figured it out.

        I had to set the host and port, even though I didn't change the defaults and its running on the same machine:

        pydevd.settrace('127.0.0.1','5678')

        Cheers,   
        maxx  
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post