> There is another similar tool available from MSR absil.I have not > played with cecil yet ut do you know if it supports symbols? The big > problem with most link time weaves in .NET is that debugging is tough > for the mangled code.
I also would be interested. Cecil looks promissing but there's 0.0 documentation (not even a single line of comment in the source). A small faq is provided but not that much else. The AbsIl toolkit is mainly targeted for F# and also comes with little to no documentation... But perhaps not much is needed, not sure. manipulating pdb's is indeed a requirement for proper usage. At the moment I can't find anything about that in the Cecil source. I know 'euss' from Sebastian Ros/ Evaluant does this (euss is also open source) FB > > On 2/26/07, Sébastien Lorion <[EMAIL PROTECTED]> wrote: > > I think the Cecil project from Mono would be useful for AOP and most > > dynamic stuff. > > > > http://www.mono-project.com/Cecil > > > > "Cecil is a library written by Jb Evain to generate and inspect > > programs and libraries in the ECMA CIL format. > > > > In simple English, with Cecil, you can load existing managed > > assemblies, browse all the contained types, modify them on the fly and > > save back to the disk the modified assembly. > > > > Today it is used by the Mono Debugger by the bug-finding and > > compliance checking tool Gendarme as well as DB4O." > > > > Sébastien > > > > On 2/26/07, Krebs Kristofer <[EMAIL PROTECTED]> wrote: > > > Isn't the main reason for making methods non-virtual by default supposed > > > to prevent unanticipated overrides? When authoring a class that others > > > are supposed to derive from you have to be strategic about which methods > > > are to be overridable or else you can get versioning and other problems. > > > Especially if it is black-boxed. In my experience virtual methods should > > > basically be empty to avoid the problem with "should/must I call the > > > base implementation or not, do I call it before or after my code etc". > > > > > > // Kristofer > > > > > > -----Original Message----- > > > From: Discussion of advanced .NET topics. > > > [mailto:[EMAIL PROTECTED] On Behalf Of Frans Bouma > > > Sent: den 26 februari 2007 09:45 > > > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > > > Subject: Re: [ADVANCED-DOTNET] Virtual methods in .NET - was > > > Implementing an Interface - C# vs. VB.NET > > > > > > > As I said the profiling API is not an optimal way of doing things (in > > > > particulaer because there is no good way of updating symbols on the > > > > fly). Doing a byte coe weave (link time) one can quite easily update > > > > symbols for ven code. > > > > > > Ok, I then misinterpreted your post, I thought you prefered the > > > profiler api to do things. > > > > > > > My statement that it offers more hope is contingent upon a mechanism > > > > to update symbols, ifthis existed it would really offer the best > > > > ofboth worlds. > > > > > > fully agreed. > > > > > > About SSCLI modified tools: these can be helpful, but it should > > > be > > > doable with standard MS shipped .NET code/compilers, as most > > > organisations > > > won't trust a '3rd party compiler' I think. > > > > > > FB > > > > > > =================================== > > > This list is hosted by DevelopMentor(r) http://www.develop.com > > > > > > View archives and manage your subscription(s) at > > > http://discuss.develop.com > > > > > > =================================== > > > This list is hosted by DevelopMentor(r) http://www.develop.com > > > > > > View archives and manage your subscription(s) at > http://discuss.develop.com > > > > > > > > > -- > > Sébastien > > www.sebastienlorion.com > > > > > -- > Studying for the Turing test > > =================================== > This list is hosted by DevelopMentor® http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com