[IronPython] DebugMode

Dino Viehland dinov at exchange.microsoft.com
Sat Jul 5 19:12:14 CEST 2008


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: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] 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
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list