[IronPython] DebugMode

2008-07-05 Thread Michael Foord
Hello all, What practical effect does setting 'DebugMode' on a ScriptRuntime have? ScriptRuntime runtime = ScriptRuntime.Create(); runtime.GlobalOptions.DebugMode = true; ScriptEngine engine = runtime.GetEngine("py"); Michael Foord -- http://www.ironpythoninaction.com/ http://www.voidspace.org

Re: [IronPython] DebugMode

2008-07-05 Thread Dino Viehland
It enables generation of PDBs and causes the code to be compiled in debug mode (w/o optimizations) so that it can be reasonably debugged. W/o it you won't be able to debug code from a .NET debugger. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michae

Re: [IronPython] DebugMode

2008-07-05 Thread Michael Foord
Dino Viehland wrote: It enables generation of PDBs and causes the code to be compiled in debug mode (w/o optimizations) so that it can be reasonably debugged. W/o it you won't be able to debug code from a .NET debugger. Cool, thanks Dino. Also what is the difference between ScriptSource.

[IronPython] Accessing C++ managed class libraries

2008-07-05 Thread Todd Gruben
Is there anything different about c++ class hierachies? I can access my c# clr classes, but not my c++ clr classes. Is there something special you should do? -Todd ___ Users mailing list [email protected] http://lists.ironpython.com/listinfo.c

Re: [IronPython] Accessing C++ managed class libraries

2008-07-05 Thread Curt Hagenlocher
My quick-and-dirty test with a Managed C++ DLL works just fine. Your C++ classes are declared as "public ref class", right? Have you looked at the assemblies in Reflector to see if there's anything unusual about them? On Sat, Jul 5, 2008 at 5:24 PM, Todd Gruben <[EMAIL PROTECTED]> wrote: > Is t

[IronPython] TypeLoadExceptions

2008-07-05 Thread Jeff Hardy
Hi, I'm consistently getting (i.e. they always occur at the same location) TypeLoadExceptions with the message "GenericArguments[0], 'Slots', on 'Microsoft.Scripting.Actions.RuleBuilder`1[T]' violates the constraint of type parameter 'T'." while trying to run Django (and CherryPy as well). I can't