Cool. Thanks, Curt.

- Jeff

On Sun, Jan 31, 2010 at 3:54 PM, Curt Hagenlocher <c...@hagenlocher.org> wrote:
> Yes, this is true in the debugger in general and not just for IronPython.
> You have to step back to a managed function after hitting the Break.
>
> On Sun, Jan 31, 2010 at 2:35 PM, Jeff Hardy <jdha...@gmail.com> wrote:
>>
>> Hmm, this is only an issue when using
>> System.Diagnostics.Debugger.Break(); as soon as I hit F10 all of the
>> variables become available.
>>
>> - Jeff
>>
>> On Sun, Jan 31, 2010 at 3:11 PM, Jeff Hardy <jdha...@gmail.com> wrote:
>> > Hi,
>> > When debugging Python code with Visual Studio, I'm getting 'Cannot
>> > evaluate expression because the code of the current method is
>> > optimized.' for just about everything when trying to inspect Python
>> > objects, even when running with -X:Debug. This is with IronPython 2.6.
>> >
>> > I remember this working at some point in the past, so I'm wondering if
>> > there is something else I need to do (like a different -X: switch) to
>> > be able to view the values on those objects.
>> >
>> > - Jeff
>> >
>> _______________________________________________
>> Users mailing list
>> Users@lists.ironpython.com
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
> _______________________________________________
> Users mailing list
> Users@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to