From BlenderWiki

Jump to: navigation, search
Note: This is an archived version of the Blender Developer Wiki. The current and active wiki is available on wiki.blender.org.

Blender Add-On Debugging Info

Programming Add-ons for Blender
http://airplanes3d.net/pydev-000_e.xml

Development Tools
https://wiki.blender.org/index.php/Dev:Doc/Tools

Tips and Tricks
https://docs.blender.org/api/blender_python_api_current/info_tips_and_tricks.html

Gotchas
https://docs.blender.org/api/blender_python_api_current/info_gotcha.html

Profiling Python Code (stub)
https://wiki.blender.org/index.php/Dev:Doc/Tools/Debugging/Python_Profile

Blender ‘BreakPoint’ Addon - Good Spirit Graphics
http://goodspiritgraphics.com/software/products/breakpoint-addon/

Python, Blender and a bit of debuggery - via Eclipse and PyDev
http://daniepstein.com/daniepstein/tutorials/python-blender-and-a-bit-of-debuggery/

Debugging Python code with PyCharm
https://code.blender.org/2015/10/debugging-python-code-with-pycharm/

Debugging Blender from Eclipse
https://wiki.blender.org/index.php/Dev:Doc/Tools/Debugging/Python_Eclipse

Trace or track Python statement execution -python.org
https://docs.python.org/3.5/library/trace.html

The Python Debugger - python.org
https://docs.python.org/3.4/library/pdb.html

Python Tools for Visual Studio (PTVS)
https://www.visualstudio.com/vs/python/?wt.mc_id=aka_ms_python

Script Watcher - Reloads an external script on edits
https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Development/Script_Watcher

Profiling: Using kernprof in Blender add-ons
http://blog.michelanders.nl/2016/12/profiling-using-kernprof-in-blender-addons.html

Logging from Python code in Blender
https://code.blender.org/2016/05/logging-from-python-code-in-blender/

Addon Development Tool
https://github.com/natecraddock/AddonDevelopmentTool

georgevdd blender-eclipse overview
https://github.com/georgevdd/blender-eclipse

Rhino Python remote debugging with PyDev
https://www.youtube.com/watch?v=nQieYXP5zWw

Rhino Python remote debugging with PyCharm
https://www.youtube.com/watch?v=6ar_CWDZIt0

Using PyCharm's Debugger with Modo 701
https://www.youtube.com/watch?v=crFqZhuiz7Q

Visual Studio Python Tutorial Deep Dive: Cross-platform Remote Debugging
https://www.youtube.com/watch?v=y1Qq7BrV6Cc

HOW-TO:Debug Python Scripts with Eclipse
http://kodi.wiki/view/How-to:Debug_Python_Scripts_with_Eclipse

mutantbob's Python predefinition (*.pypredef) generator for Blender API
https://github.com/mutantbob/pycharm-blender/blob/master/python_api/pypredef_gen.py

PyDev Installation instructions
http://www.pydev.org/manual_101_install.html

PyDev Remote Debugger walk through
http://www.pydev.org/manual_adv_remote_debugger.html


Other

http://blender.stackexchange.com/questions/2502/can-i-run-a-python-script-step-by-step-in-blender

http://blender.stackexchange.com/questions/3066/step-by-step-execution-of-bge-mainloop-for-debugging