Dani Epstein describes how to set up the Eclipse IDE for debugging Blender Python scripts.
Dani writes:
Setting up Eclipse for debugging Python scripts in Blender proved to be a hair-tearing experience for me. As is the case for every such frustration for me, I posted a cri-de-coeur at BlenderArtists to bring some kind of sanity to the process.
Despite having read Witold Jaworski's excellent e-book, nothing would work for me. The truth is that I wasn't really sure as to what went where, since I was reading in much the same way I ski - top to bottom as quickly as possible. What I needed was the absolute minimal information to get debugging going.
Some assistance and research later, Eclipse was finally doing its thing properly. I decided to take some notes down and post them as a really, really short tutorial for the next time round I get frustrated.
If you have had a stab before at setting up debugging and became as frustrated as I was, try my tutorial here.
4 Comments
Haven't used Eclipse for debugging scripts for Blender, but I bet this will definitely prove very useful for me should I check out doing so. I'm doing a good deal of coding with Blender, and while my current setup is sufficient, perhaps I may find some advantage in using an Eclipse setup. Thanks for sharing a solution and possibly saving me a potential headache!
Eclipse has become my goto IDE for Python development - I haven't yet had the need to write a script for Blender but like you, I think I'll find this handy later on down the track!
Setting up vim for Blender Python ...
Yeah these short sharp tutes are helpful, I made a similar one back in May.
http://blenderartists.org/forum/showthread.php?292689-Short-guide-to-interactive-BPY-code-completion-and-debugging-with-Eclipse&highlight=