Re: [IronPython] SciPy

2010-12-16 Thread Dino Viehland
Enthought has been working on getting numpy/scipy ported over to work w/ 
IronPython.  I believe numpy is working but I'm not sure of how far along SciPy 
is.  There's a separate mailing list for this at:

https://mail.enthought.com/mailman/listinfo/scipy4dotnet

It's very low traffic - it's usually just working through issues Enthought has 
run into and either workarounds or suggested changes to IronPython.  I'd 
suggest sending a mail there - they might have something you can try.


From: users-boun...@lists.ironpython.com 
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Mark Senko
Sent: Thursday, December 16, 2010 11:49 AM
To: users@lists.ironpython.com
Subject: [IronPython] SciPy

I've been searching for the current state of support for "C" based libraries, 
specifically SciPy (I'm just looking for a decent numerical analysis package).  
The responses I've seen on various websites are somewhat dated.
What is the latest status, or is there no effort towards accommodating the C 
API? Is IronClad still the best option? Any info, suggestions and warnings 
would be appreciated before I start to invest a lot of time into installing and 
learning these packages.

Mark Senko
Complete Genomics, Inc.
2071 Stierlin Court
Mountain View, CA 94043










The contents of this e-mail and any attachments are confidential and only for

use by the intended recipient. Any unauthorized use, distribution or copying

of this message is strictly prohibited. If you are not the intended recipient

please inform the sender immediately by reply e-mail and delete this message

from your system. Thank you for your co-operation.
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


[IronPython] SciPy

2010-12-16 Thread Mark Senko
I've been searching for the current state of support for "C" based
libraries, specifically SciPy (I'm just looking for a decent numerical
analysis package).  The responses I've seen on various websites are
somewhat dated.

What is the latest status, or is there no effort towards accommodating
the C API? Is IronClad still the best option? Any info, suggestions and
warnings would be appreciated before I start to invest a lot of time
into installing and learning these packages.

 

Mark Senko

Complete Genomics, Inc.

2071 Stierlin Court

Mountain View, CA 94043

 




 
 
The contents of this e-mail and any attachments are confidential and only for 
use by the intended recipient. Any unauthorized use, distribution or copying 
of this message is strictly prohibited. If you are not the intended recipient 
please inform the sender immediately by reply e-mail and delete this message 
from your system. Thank you for your co-operation.___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] How to break in the debugger in IP when script lauched from a hosting C# process

2010-12-16 Thread Dino Viehland
Chuck wrote:
> I have a SharePoint app (Commerce Server to be exact) that is launching an
> IronPython script.  What is the best way to be able to step into or break into
> the debugger within the IronPython script?

You should enable debug mode for the script runtime to make the code 
debuggable.  There's a DebugMode property on ScriptRuntimeSetup that 
you can set that will enable that.  Then if the code you're compiling is all
on disk w/ filenames we should emit debugging information for it (if you're
creating script sources from strings you'll need to write them out to disk
and create them from files).

>From there you should be able to attach VS and step, set break points, etc...
You don't want to do this all the time though because debuggable code
is not collectible code so you could end up leaking memory.




___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] How to break in the debugger in IP when script lauched from a hosting C# process

2010-12-16 Thread Medcoff, Charles
Well I've got 2010 with the add-on.  I just added the following code to my 
script and will let you know the outcome:

import clr
clr.AddReference("System.Diagnosics")
from System.Diagnostics import Debugger

Debugger.Break()

-Original Message-
From: users-boun...@lists.ironpython.com 
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Sam Dozor
Sent: Thursday, December 16, 2010 9:40 AM
To: Discussion of IronPython
Subject: Re: [IronPython] How to break in the debugger in IP when script 
lauched from a hosting C# process

The only reliable tool that I've found is visual studio 2010 w/ IronPython 
add-on, although I often have a hard time breaking directly in IPy code, I tend 
to first break in c# land and then step into IPy.

That said, I've been looking for a more lightweight (free?) option, so 
hopefully somebody will respond to this...

-Original Message-
From: users-boun...@lists.ironpython.com 
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Medcoff, Charles
Sent: Thursday, December 16, 2010 9:18 AM
To: Discussion of IronPython
Subject: [IronPython] How to break in the debugger in IP when script lauched 
from a hosting C# process

I have a SharePoint app (Commerce Server to be exact) that is launching an 
IronPython script.  What is the best way to be able to step into or break into 
the debugger within the IronPython script?

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


Re: [IronPython] How to break in the debugger in IP when script lauched from a hosting C# process

2010-12-16 Thread Jeff Hardy
On Thu, Dec 16, 2010 at 7:18 AM, Medcoff, Charles
 wrote:
> I have a SharePoint app (Commerce Server to be exact) that is launching an 
> IronPython script.  What is the best way to be able to step into or break 
> into the debugger within the IronPython script?

Hi Charles,
Simplest version:
import System.Diagnostics; System.Diagnostics.Debugger.Break()

See [1] for more details.

Maybe I should add a clr.Break() or something like that to make it easier.

- Jeff

[1] http://jdhardy.blogspot.com/2010/01/debugging-techniques-for-ironpython.html
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] How to break in the debugger in IP when script lauched from a hosting C# process

2010-12-16 Thread Sam Dozor
The only reliable tool that I've found is visual studio 2010 w/ IronPython 
add-on, although I often have a hard time breaking directly in IPy code, I tend 
to first break in c# land and then step into IPy.

That said, I've been looking for a more lightweight (free?) option, so 
hopefully somebody will respond to this...

-Original Message-
From: users-boun...@lists.ironpython.com 
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Medcoff, Charles
Sent: Thursday, December 16, 2010 9:18 AM
To: Discussion of IronPython
Subject: [IronPython] How to break in the debugger in IP when script lauched 
from a hosting C# process

I have a SharePoint app (Commerce Server to be exact) that is launching an 
IronPython script.  What is the best way to be able to step into or break into 
the debugger within the IronPython script?

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


[IronPython] How to break in the debugger in IP when script lauched from a hosting C# process

2010-12-16 Thread Medcoff, Charles
I have a SharePoint app (Commerce Server to be exact) that is launching an 
IronPython script.  What is the best way to be able to step into or break into 
the debugger within the IronPython script?

--chuck
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com