View Single Post
  #4  
Old 08-04-2005, 01:36 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Sorry for the delay, I've been at a conference all week. I was able to run Vizard scripts with IDLE, but I had to make a small change. The next version will include this change. I could also send you a patch if you wanted.

There might be a problem though. You mentioned that you wanted to use IDLE because it had a debugger. This won't work because of the way Vizard works. As you already found out from the previous post, Vizard runs the script once to detect any high-level errors then passes it on to the graphics process which actually runs the script. So the debugger won't be able to detect error that occur outside the global scope of the script (i.e callback and timer code).

There is a way to debug Vizard scripts but it works throught the command line. I will try to find some python modules that allow debugging using a graphical interface.

Anyway, let me know if you would like the patch.
Reply With Quote