Re: [IronPython] Debugging hosted python scripts

2011-04-06 Thread Keith Rome
On Behalf Of Markus Schaber Sent: Thursday, March 31, 2011 3:49 AM To: Discussion of IronPython Subject: Re: [IronPython] Debugging hosted python scripts Hi, If you are sure that you can control the potentially arising reentrancy problems (best by avoiding reentrancy completely, e. G. by disa

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Jimmy Schementi
On Thu, Mar 31, 2011 at 12:53 PM, Dino Viehland wrote: > Jimmy wrote: > > If you're interested in building your own debugger, take a look at > > http://devhawk.net/2009/07/08/MicrosoftScriptingDebugging.aspx. > > Microsoft.Scripting.Debugging.dll gives you APIs for non-blocking > debugging > > by

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Dino Viehland
Jimmy wrote: > If you're interested in building your own debugger, take a look at > http://devhawk.net/2009/07/08/MicrosoftScriptingDebugging.aspx. > Microsoft.Scripting.Debugging.dll gives you APIs for non-blocking debugging > by rewriting the expression tree. This doesn't require the interpreter.

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Dino Viehland
Jeff wrote: > On Wed, Mar 30, 2011 at 8:52 PM, Keith Rome > wrote: > > I have been going down the path of using ScriptEngine.SetTrace() and > > inspecting frames in the callback. This works fine if I am not doing > > anything interactive. For example, dumping some information to > > Debug.WriteL

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Jimmy Schementi
If you're interested in building your own debugger, take a look at http://devhawk.net/2009/07/08/MicrosoftScriptingDebugging.aspx. Microsoft.Scripting.Debugging.dll gives you APIs for non-blocking debugging by rewriting the expression tree. This doesn't require the interpreter. ~Jimmy On Mar 31,

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Jeff Hardy
On Wed, Mar 30, 2011 at 8:52 PM, Keith Rome wrote: > We currently have a line of business application, written entirely in C#, > that embeds the IronPython runtime. We offer a GUI script editing > environment (using the SyntaxEditor control from Actipro Software, which > works great for this). Thi

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Keith Rome
com> www.wintellect.com<http://www.wintellect.com/> From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Markus Schaber Sent: Thursday, March 31, 2011 3:51 AM To: Discussion of IronPython Subject: Re: [IronPython] Debugging hosted python scripts Hi, Another rem

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Markus Schaber
using the .NET debugging APIs.) Regards, Markus Von: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] Im Auftrag von Markus Schaber Gesendet: Donnerstag, 31. März 2011 09:49 An: Discussion of IronPython Betreff: Re: [IronPython] Debugging hosted python scripts

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Markus Schaber
Hi, If you are sure that you can control the potentially arising reentrancy problems (best by avoiding reentrancy completely, e. G. by disabling the parent windows), then Application.DoEvents inside the trace handler may help. Grüße, Markus Von: users-boun...@lists.ironpython.com [m