Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Interactive Python debugging in XSI:

Interactive Python debugging in XSI:

2005-04-09       - By kim aldis

 Back
Reply:     1     2     3     4     5  

You just never stop, do you ;-)




 __ __  

From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of
Jerry Gamache
Sent: 08 April 2005 21:57
To: xsi@(protected)
Subject: Interactive Python debugging in XSI:



Try this in XSI:

for i in range (0,12):
       if i == 3:
               import pywin.debugger
               pywin.debugger.brk()
       Application.LogMessage(i)
       
After outputting a few values, a debugger should pop-up. It has all the
traditionnal debugger windows:

Interactive shell:
       In the shell, try changing the value of "i" before hitting F10 to
step and see your new value being LogMessaged.

You can also control and experiment with XSI from the shell, just try:

[Dbg]>>> oSphere = Application.CreatePrim("Sphere","MeshSurface")
[Dbg]>>> oSphere.radius = 2
[Dbg]>>>

Variable browser:
       you can explore all local and global variables.

Watch window:
       enter any expression and see it update as you step.

Enjoy!
Jerry.