[IronPython] IronPython support In Visual Studio 2005 April VSSDK?

Lesley & Mitch Barnett mbarnett at uniserve.com
Wed Jun 7 13:58:10 CEST 2006


Thanks Dino.  I am debugging in Form.py in VS, just like a C# program.  With
your suggestions, I am able to step through the code, thanks.

 

Mitch

http://softwareindustrialization.com <http://softwareindustrialization.com/>


 

  _____  

From: Dino Viehland [mailto:dinov at exchange.microsoft.com] 
Sent: June 2, 2006 7:48 AM
To: Discussion of IronPython
Subject: Re: [IronPython] IronPython support In Visual Studio 2005 April
VSSDK?

 

On debugging:

                Are you debugging running the console, or did you put the
code into a .py file and run it?

 

                The reason I ask is when you're running at the console we
generate code in a mode that is essentially un-debuggable.  The reason for
this is that it's the only way the code is collectible by the GC.  But if
you put the code into a .py file and import it, then you'll get a much
better experience - you should be able to step through the code at that
point.

 

                As for getting the IronPython source files - you might be
able to solve this using Just My Code
(Tools->Options->Debugging->General->Enable Just My Code).  Another option
is tweaking the exception handling settings (Ctrl-Alt-E) so thrown CLR
exceptions don't cause you to break in.  

 

                You could point VS at the IronPython source code, but then
you'd be stepping through tons of IP source code to understand your
exception.  So hopefully the Just My Code option will do the right thing for
you.

                

 

From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of Lesley & Mitch
Barnett
Sent: Friday, June 02, 2006 4:15 AM
To: 'Discussion of IronPython'
Subject: Re: [IronPython] IronPython support In Visual Studio 2005 April
VSSDK?

 

Fixed my own error:

 

>>> from System.Reflection import *

>>> a = Assembly.LoadFrom("mapack.dll")

>>> Types = a.GetTypes()

>>> for Type in Types:

...   print Type

...

Mapack.CholeskyDecomposition

Mapack.EigenvalueDecomposition

Mapack.LuDecomposition

Mapack.Matrix

Mapack.QrDecomposition

Mapack.SingularValueDecomposition

>>> 

 

Still have the VS debugging issue.

 

  _____  

snip 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060607/21fa70f3/attachment.html>


More information about the Ironpython-users mailing list