Re: [IronPython] Debugging support PythonEngine

2006-08-11 Thread Kristof Wagemans
Are there plans to improve the debugging experience in the future or are you at a point where it is as good as it gets? Being able to debug makes writing and using python scripts a lot easier. Inside functions I can see not only the function parameters but also the newly defined local

Re: [IronPython] PythonEngine.RunFile

2006-08-11 Thread Tim Riley
Thank you both. I will give that a shot.On 8/10/06, Shri Borde [EMAIL PROTECTED] wrote: __name___ == __main__: is a convention enforced by ipy.exe. The PythonEngine itself does not directly support this concept. However, you can achieve that result (just like ipy.exe does) by using

[IronPython] Embedded IP eating memory

2006-08-11 Thread Rodolfo Conde
Hi I have an IP-Embedded C#application (IP version IronPython 1.0.60523 (Beta) on .NET 2.0.50727.42, Yeah i know, im out of date, but i havent make the change to latest version because i saw there weresome API changes :) ), i create one PyEngine, set some global variablesand inside

Re: [IronPython] Debugging support PythonEngine

2006-08-11 Thread Shri Borde
Yes, we will definitely be working on improving the debugging support as it is a critical part of the development process. However, full support will need work in all parts of the tool chain including VS. Python local variables are implemented as normal MSIL variables (except in cases

[IronPython] Need help using IronPython from C#

2006-08-11 Thread Jason Ferrara
I'd like to do the equivalent of something like... import RemoteAdmin ls = RemoteAdmin.ConnectToService(localhost,LogViewer) numEntries = ls.GetNumberOfEntries() e = ls.GetEntry(numEntries - 1) entryString = str(e) in C#. So I get as far as PythonEngine e = new PythonEngine(); # The

Re: [IronPython] Embedded IP eating memory

2006-08-11 Thread Dino Viehland
How are you executing the script file? If youre creating a new optimized module each time we wont be able to collection the optimized module code. If on the other hand youre just compiling it as a helper method then when its done running we can collect the code. In pre-RC1 we had a leak

Re: [IronPython] Need help using IronPython from C#

2006-08-11 Thread Jason Ferrara
On Aug 11, 2006, at 3:53 PM, Dino Viehland wrote: If you really do want to get a delegate to a Python function that came from a module you might want to look at Ops.GetDelegate. If you were to create a module, execute its contents, and then get the method back out by name as an

Re: [IronPython] Need help using IronPython from C#

2006-08-11 Thread Dino Viehland
You're quickly getting into the guts of the runtime, so you'll find most of what you want over in Ops. To get an attribute off of an object you can do TryGetAttr(object o, SymbolId name, out object ret). o would be your ls, SymbolId's our what we use internally to represent attributes - you

Re: [IronPython] Embedded IP eating memory

2006-08-11 Thread Rodolfo Conde
ionalidad.py let me know and ill send it Thanks for your help Greetings... __ Información de NOD32, revisión 1.1703 (20060811) __Este mensaje ha sido analizado con NOD32 antivirus systemhttp://www.nod32.com _

Re: [IronPython] Embedded IP eating memory

2006-08-11 Thread Rodolfo Conde
Información de NOD32, revisión 1.1703 (20060811) __Este mensaje ha sido analizado con NOD32 antivirus systemhttp://www.nod32.com ___users mailing listusers@lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com_

[IronPython] pdb files

2006-08-11 Thread jeff sacksteder
I have compiled my application to an exe.Must I distribute the .pdb files along with my app or can I just delete them? ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com