If you have your .net assembly put up a modal dialog
(messagebox), you can attach to the process from DevStudio, set breakpoints,
From: pythondotnet-bounces+btribble=[hidden email]
[mailto:pythondotnet-bounces+btribble=[hidden email]] On Behalf Of Grégoire
Dooms Sent: Friday, May 01, 2009 8:50 AM To:[hidden email] Subject: [Python.NET] tuple not recognized as a type ?
I have been trying to use tuple as a generic type argument:
In : from System.Collections.Generic import List
Re: [Python.NET] tuple not recognized as a type ?Hi Brett – Generics only work with CLR types and primitive Python types that have
a direct CLR equivalent (string, int, etc.), so you really can’t do this with tuples. Not
sure what you were going for in the example, but generally you will want to use
CLR collection types when interacting with CLR objects and apis.
For debugging your best bet would be vstudio for looking at the integration layer,
but YMMV given all the transitions between managed code, native code, generated