Re: [IronPython] Disabling optimized methods

2011-02-01 Thread Daniel Jennings
l Jennings Sent: Tuesday, February 01, 2011 12:51 PM To: Discussion of IronPython Subject: Re: [IronPython] Disabling optimized methods Alright, we're using DebugMode = true already (when the application starts with the debugger attached) so we must be seeing something else that is causing us

Re: [IronPython] Disabling optimized methods

2011-02-01 Thread Daniel Jennings
ry 01, 2011 12:51 PM To: Discussion of IronPython Subject: Re: [IronPython] Disabling optimized methods Alright, we’re using DebugMode = true already (when the application starts with the debugger attached) so we must be seeing something else that is causing us to get the ‘function has been opti

Re: [IronPython] Disabling optimized methods

2011-02-01 Thread Dino Viehland
rom: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Dino Viehland Sent: Tuesday, February 01, 2011 12:50 PM To: Discussion of IronPython Subject: Re: [IronPython] Disabling optimized methods You can use -X:Debug now to specifiy this at the command line. If you want to do

Re: [IronPython] Disabling optimized methods

2011-02-01 Thread Daniel Jennings
ilto:users-boun...@lists.ironpython.com] On Behalf Of Dino Viehland Sent: Tuesday, February 01, 2011 12:50 PM To: Discussion of IronPython Subject: Re: [IronPython] Disabling optimized methods You can use -X:Debug now to specifiy this at the command line. If you want to do it while you're hosting you can set

Re: [IronPython] Disabling optimized methods

2011-02-01 Thread Dino Viehland
You can use -X:Debug now to specifiy this at the command line. If you want to do it while you're hosting you can set the DebugMode option to true on the ScriptRuntimeSetup object used to create the ScriptRuntime. You'll need to make sure the ScriptSource's you create have filenames though. Fr

Re: [IronPython] Disabling optimized methods

2007-11-19 Thread Dino Viehland
This isn't actually optimization but rather dynamic methods. You can use the -X:StaticMethods which will force all methods into types. But the consequence of this is if methods are getting dynamically defined (e.g. exex "def foo(): pass") then we'll leak memory because the methods can never be