[Bf-python] Newbie Question: How to debug python in blender ? BestDevelopment Environment ?
Gilbert, Joseph
jgilbert at tigr.org
Thu Feb 24 19:40:37 CET 2005
Debugging python scripts is tricky when the python interpreter is embedded in the application (e.g. blender). Python has a module called pdb which allows for debugging. However, how to get this to run from embedded python I have no idea :-( .
Typically if your script contains an error you will get an error msg in the console when you try to execute it. However, that's not quite the same things as a 'walkthrough' debugger. Right now there really isn't very good support for this.
As for IDE for making python scripts - stani has a good development tool called SPE which is a separate program from blender but is able to access blender's extension modules or you can use the text window inside blender itself (if you don't mind battleship grey) :-) You could try to use python itself but it will not recognize the blender extension modules (i.e. import Blender) .
-----Original Message-----
From: bf-python-bounces at projects.blender.org [mailto:bf-python-bounces at projects.blender.org] On Behalf Of G. Völkl
Sent: Thursday, February 24, 2005 3:22 AM
To: bf-python at projects.blender.org
Subject: [Bf-python] Newbie Question: How to debug python in blender ? BestDevelopment Environment ?
Hello,
I am starting programming with python and blender.
Is there a pyhton debugger in blender available ?
Which development environment do you recommend or use ?
Thanks!
Best Regards
Gerhard
________________________________
Gesendet von Yahoo! Mail <http://de.mail.yahoo.com> - Jetzt mit 250MB kostenlosem Speicher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20050224/2cce811b/attachment.html>
More information about the Bf-python
mailing list