[Mono-devel-list] "xml-trace" option for mono

Richard Torkar richard.torkar at htu.se
Wed Mar 31 16:29:11 EST 2004


On Wed, 2004-03-31 at 23:05 +0200, Juraj Skripsky wrote:

> Hello,
> 
> I'm thinking of adding a xml-version of the trace option to mono. The
> trace output would be completely equivalent to the current trace option.
> Often I find myself searching rather large traces with lots of
> information I don't need.

Do you know you can limit the trace's scope?

tux ~$ mono --help-trace
Tracing options:
   --trace[=EXPR]        Trace every call, optional EXPR controls the
scope
                                                                                
EXPR is composed of:
    all                  All assemblies
    none                 No assemblies
    program              Entry point assembly
    assembly             Specifies an assembly
    M:Type:Method        Specifies a method
    N:Namespace          Specifies a namespace
    T:Type               Specifies a type
    +EXPR                Includes expression
    -EXPR                Excludes expression

> With a xml-trace it would be possible to
> - discard all unnecessary information (e.g. hex object refs/pointers) by
> applying the appropriate XSLT transformation

Can be done already afaik.

> - compare the traces of two separate runs with some sort of xmldiff

Might be a more valid point. This, however, can be done with the regular
output I believe. Never tried it though!

> - integrate tracing output into MonoDevelop (trace window, click on a
> trace item and it takes you to the source code of the method...?)

Better talk to Todd about this (the MonoDevelop guy). I believe he has
plans.

Best,

/Richard Torkar




More information about the Mono-devel-list mailing list