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 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

Reply via email to