#1
|
|||
|
|||
Debug Viz in PyCharm (or Eclipse)
I have set up an external tool in PyCharm to execute Vizard code, with the below configurations:
Program --> C:\Program Files (x86)\WorldViz\Vizard4\bin\winviz.exe Parameters --> $FilePath$ Working Directory --> C:\Program Files (x86)\WorldViz\Vizard4\bin But now I am trying to set up an external tool to debug Vizard code, the below configuration is what I tried based on the command PyCharm uses to debug code: Program --> C:\Program Files (x86)\WorldViz\Vizard4\bin\winviz.exe Parameters --> "C:\Program Files (x86)\JetBrains\PyCharm 2.0\helpers\pydev\pydevd.py" --client 127.0.0.1 --port 50336 --file $FilePath$ Working Directory --> C:\Program Files (x86)\WorldViz\Vizard4\bin I am not sure if this is even on the right path, so any help would be greatly appreciated. Or if someone has set this up in Eclipse, I could try and mimic that configuration. Thanks, |
#2
|
|||
|
|||
Sorry, I'm not familiar with PyCharm, but is it outputting any error messages when you attempt to debug a Vizard script?
|
#3
|
|||
|
|||
pydev debugger: starting
Could not connect to 127.0.0.1: 49849 Traceback (most recent call last): File "pydevd_comm.py", line 390, in StartClient s.connect((host, port)) File "C:\Program Files (x86)\WorldViz\Vizard4\bin\lib\socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 10061] No connection could be made because the target machine actively refused it |
#4
|
|||
|
|||
I'd like to warm up this 5 year old topic. I recently fell in love with PyCharm and I'm happy that I can use it to write vizard scripts and run them from PyCharm as an external tool. but I'm also lost on how to configure it to being able to debug the vizard script.
There's all these interpreter settings, remote debugging (PyCharm Pro only), external tool's, but I just don't know what to do. So is there any way to do debugging with PyCharm Professional, so I don't have to rely on print statements? If not, this is can be seen as a kind feature request. |
#5
|
|||
|
|||
We have not used PyCharm so I don't have any suggestions for getting the debugger to work there. What about opening up the script in the Vizard IDE at times when you need a debugger?
|
Tags |
debug, eclipse, pycharm, vizard |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Eclipse IDE with Vizard | Gladsomebeast | Vizard | 7 | 09-02-2014 06:08 AM |
Debug error | Enlil | Vizard | 2 | 02-23-2011 07:13 AM |
Cal3D Slow Load in Debug Mode? | JeffS | Plug-in development | 0 | 06-25-2009 11:27 AM |
Cal3D Slow Load in Debug Mode? | JeffS | Vizard | 0 | 06-25-2009 11:26 AM |
Howto debug a custom plugin? | reedev | Plug-in development | 3 | 04-23-2009 02:16 PM |