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

Re: [IronPython] IronPython Tools for VS2010 Questions

2011-03-31 Thread Bill Dines
1. Intellisense/autocomplete will be really useful for our users. Can anyone tell me what should and shouldn't provide this capability. So far it seems that some System types provide it and Python Module Methods work as well but I'm not sure what else should work as it is a little

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Keith Rome
This is an avenue we have considered, but I do not believe it will not work for the Silverlight scenario. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.commailto:r...@wintellect.com

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Jeff Hardy
On Wed, Mar 30, 2011 at 8:52 PM, Keith Rome r...@wintellect.com 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

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 Dino Viehland
Jeff wrote: On Wed, Mar 30, 2011 at 8:52 PM, Keith Rome r...@wintellect.com 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

Re: [IronPython] Debugging hosted python scripts

2011-03-31 Thread Jimmy Schementi
On Thu, Mar 31, 2011 at 12:53 PM, Dino Viehland di...@microsoft.com 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

[IronPython] Creating Symbolic Links via IronPython

2011-03-31 Thread Lukáš Duběda
Hi there everyone, I've been trying to find a solution for creating Symbolic Links via IronPython scripting, but it seems there is not a direct way of doing this via .NET and since I don't know C#, I have hard times translating C# snippets I've found on the net to IronPython. For example:

[IronPython] [Code Review] Custom PAL fixes

2011-03-31 Thread Jimmy Schementi
Just checked in some small fixes to make the Importer use a custom Platform Adaptation Layer. I also started to tweak clr.CompileModules a bit, but backed those changes out, so just ignore those. Take a look at the recent commits to https://github.com/jschementi/iron. If there are no objections,

Re: [IronPython] [Code Review] Custom PAL fixes

2011-03-31 Thread Dino Viehland
LGTM. From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Jimmy Schementi Sent: Thursday, March 31, 2011 6:06 PM To: Discussion of IronPython Subject: [IronPython] [Code Review] Custom PAL fixes Just checked in some small fixes to make the Importer

Re: [IronPython] [Code Review] Custom PAL fixes

2011-03-31 Thread haniti grk
Please continue using this mailing list. Knowing the innards of IronPython does not hurt at all. Besides the traffic here is not too much. On Mar 31, 2011 8:16 PM, Dino Viehland di...@microsoft.com wrote: LGTM. From: users-boun...@lists.ironpython.com [mailto:

Re: [IronPython] [Code Review] Custom PAL fixes

2011-03-31 Thread Bruce Bromberek
As a non developer user I like all of the detailed discussions. It helps me understand what is going on behind the scenes. And gives me better C# search terms. On 3/31/11, Jimmy Schementi ji...@schementi.com wrote: Just checked in some small fixes to make the Importer use a custom Platform

Re: [IronPython] [Code Review] Custom PAL fixes

2011-03-31 Thread Dave Wald
I don't mind a bit. I like having a sense of what's going on. On 3/31/2011 8:05 PM, Jimmy Schementi wrote: Just checked in some small fixes to make the Importer use a custom Platform Adaptation Layer. I also started to tweak clr.CompileModules a bit, but backed those changes out, so just