Re: [Ironpython-users] Help Change Python Engine Options inside Python

2011-10-07 Thread Jeff Hardy
On Fri, Oct 7, 2011 at 6:18 AM, Mark Wilson wrote: > Thanks Jeff for the help. > I do have vs2010. The ipy process is embedded in a commercial software, > ANSYS.  Do you know how to trigger vs2010 debugging from python  script? The > console is launched by ANSYS program. Add the following to your

Re: [Ironpython-users] Help Change Python Engine Options inside Python

2011-10-06 Thread Jeff Hardy
I'm pretty sure that once the Python Engine has started, the options cannot be changed. If you have VS available you could attach to the ipy process and debug using that. Calling System.Diagnostics.Debugger.Break() in your python code will trigger a breakpoint. - Jeff On Wed, Oct 5, 2011 at 3:19

[Ironpython-users] Help Change Python Engine Options inside Python

2011-10-05 Thread Mark Wilson
Hi,  I am writing python scripts in a launched ironpython console. I cannot use the pdb debug module because the FullFrames and Tracing were off. I cannot relaunch ipy -X:FullFrames -X:Tracing. Could you advise how to debug the scripts within the existing python console 2.7? Thanks in advance,