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.Execute() and
ScriptSource.ExecuteProgram() ?
As far as I can tell, ExecuteProgram returns an integer for propagating
the exit code of a program. Is this the main reason to use it?
Michael
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Saturday, July 05, 2008 8:04 AM
To: Discussion of IronPython
Subject: [IronPython] DebugMode
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.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com