Re: [IronPython] Debugging support PythonEngine

2006-08-19 Thread Shri Borde
: 'Discussion of IronPython' Subject: Re: [IronPython] Debugging support PythonEngine   Leaking memory with IronPython.Compiler.Options.GenerateDynamicMethods = false isn’t really a big issue: ClrDebuggingEnabled = true already starts to leak memory (at least that’s what the comment say

Re: [IronPython] Debugging support PythonEngine

2006-08-19 Thread Shri Borde
: Thursday, August 17, 2006 9:44 PM To: Discussion of IronPython Subject: Re: [IronPython] Debugging support PythonEngine Without looking at the IP source, can we be confident that the same IL is produced when a DynamicMethod is created as when AssemblyBuilder is used? Do the test cases get run

Re: [IronPython] Debugging support PythonEngine

2006-08-18 Thread Kristof Wagemans
August 2006 23:49 To: Discussion of IronPython Subject: Re: [IronPython] Debugging support PythonEngine   The first issue is probably the same that IL offset 0 does not have any debug information.   Calling the delegate “add” steps into a DynamicMethod which confuses VS. A workaround for now is

Re: [IronPython] Debugging support PythonEngine

2006-08-18 Thread J. Merrill
Without looking at the IP source, can we be confident that the same IL is produced when a DynamicMethod is created as when AssemblyBuilder is used? Do the test cases get run with both settings of Options.GenerateDynamicMethods? One of the most frustrating debugging problems is when code fails w

Re: [IronPython] Debugging support PythonEngine

2006-08-17 Thread Shri Borde
, 2006 1:54 PM To: 'Discussion of IronPython' Subject: Re: [IronPython] Debugging support PythonEngine   It’s good to hear that it’s fixable. But, off course, here’s the next one J.     With the same little script: x = 1 y = 2   def Add(a, b):     x = a + b     return x  

Re: [IronPython] Debugging support PythonEngine

2006-08-17 Thread Kristof Wagemans
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shri Borde Sent: Thursday 17 August 2006 20:25 To: Discussion of IronPython Subject: Re: [IronPython] Debugging support PythonEngine   I have opened this bug - http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkIt

Re: [IronPython] Debugging support PythonEngine

2006-08-17 Thread Shri Borde
Shri Borde Sent: Wednesday, August 16, 2006 12:29 PM To: Discussion of IronPython Subject: Re: [IronPython] Debugging support PythonEngine   We have started doing some work for improving debugging as shown by the VSIP sample (http://blogs.msdn.com/aaronmar/archive/2006/02/16/533273.aspx). However

Re: [IronPython] Debugging support PythonEngine

2006-08-16 Thread Shri Borde
Behalf Of Kristof Wagemans Sent: Saturday, August 12, 2006 1:38 AM To: 'Discussion of IronPython' Subject: Re: [IronPython] Debugging support PythonEngine   Thanks for the info. It’s good to hear that there will be improvement possible in this area in the future. Although, the way I

Re: [IronPython] Debugging support PythonEngine

2006-08-12 Thread Kristof Wagemans
functions will step you through methods in IronPython.dll .   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kristof Wagemans Sent: Friday, August 11, 2006 12:36 AM To: 'Discussion of IronPython' Subject: Re: [IronPython] Debugging support PythonEngine   Are ther

Re: [IronPython] Debugging support PythonEngine

2006-08-11 Thread Shri Borde
you through methods in IronPython.dll .   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kristof Wagemans Sent: Friday, August 11, 2006 12:36 AM To: 'Discussion of IronPython' Subject: Re: [IronPython] Debugging support PythonEngine   Are there plans to i

Re: [IronPython] Debugging support PythonEngine

2006-08-11 Thread Kristof Wagemans
: Discussion of IronPython Cc: Glenn Hackney Subject: Re: [IronPython] Debugging support PythonEngine   If EngineOptions.ClrDebuggingEnabled is set, we use AssemblyBuilder, TypeBuilder, etc for PythonEngine.Executed. The code generated by AssemblyBuilder, TypeBuilder, etc supports PDB debug

Re: [IronPython] Debugging support PythonEngine

2006-08-10 Thread Shri Borde
/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kristof Wagemans Sent: Thursday, August 10, 2006 2:10 PM To: Discussion of IronPython Subject: [IronPython] Debugging support PythonEngine   I have been experimenting with

[IronPython] Debugging support PythonEngine

2006-08-10 Thread Kristof Wagemans
I have been experimenting with the debugging support for the PythonEngine. When I use the following code I have several problems.   PythonEngine _pe; EngineOptions options = new EngineOptions(); options.ClrDebuggingEnabled = true; _pe = new PythonEngine(options); _pe.ExecuteFile(@" 

[IronPython] Debugging support PythonEngine

2006-07-27 Thread Kristof Wagemans
I have been experimenting with the debugging support for the PythonEngine. When I use the following code I have several problems.   PythonEngine _pe; EngineOptions options = new EngineOptions(); options.ClrDebuggingEnabled = true; _pe = new PythonEngine(options); _pe.ExecuteFile(@"