Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2004-03-16 05:43:42 +0300
committerMiguel de Icaza <miguel@gnome.org>2004-03-16 05:43:42 +0300
commit9567cf300a8acb1f68dcacc80f6cd18ed87c92fb (patch)
tree1921fb5bb69b450bedeaca78c8fb9e4702450ed9 /man
parent5f52ab1308775cae45712b45bc2c55d83aaaae98 (diff)
Flush
svn path=/trunk/mono/; revision=24098
Diffstat (limited to 'man')
-rw-r--r--man/mono.118
1 files changed, 15 insertions, 3 deletions
diff --git a/man/mono.1 b/man/mono.1
index ce8c04d2ffe..5e5afa3d539 100644
--- a/man/mono.1
+++ b/man/mono.1
@@ -136,7 +136,7 @@ This generates a postscript file with a graph with the details about
the specified method (namespace.name:methodname). This requires `dot'
and ghostview to be installed (it expects Ghostview to be called
"gv").
-.TP
+.PP
The following graphs are available:
.nf
cfg Control Flow Graph (CFG)
@@ -171,41 +171,53 @@ application with a native debugger when an exception is thrown.
.I "--trace[=expression]"
Shows method names as they are invoked. By default all methods are
traced.
-.TP
+.PP
The trace can be customized to include or exclude methods, classes or
assemblies. A trace expression is a comma separated list of targets,
each target can be prefixed with a minus sign to turn off a particular
target. The words `program' and `all' have special meaning.
`program' refers to the main program being executed, and `all' means
all the method calls.
-.TP
+.PP
Assemblies are specified by their name, for example, to trace all
calls in the System assembly, use:
.nf
+
mono --trace=System app.exe
+
.fi
Classes are specified with the T: prefix. For example, to trace all
calls to the System.String class, use:
.nf
+
mono --trace=T:System.String app.exe
+
.fi
And individual methods are referenced with the M: prefix, and the
standar method notation:
.nf
+
mono --trace=M:System.Console.WriteLine app.exe
+
.fi
As previously noted, various rules can be specified at once:
.nf
+
mono --trace=T:System.String,T:System.Random app.exe
+
.fi
You can exclude pieces, the next example traces calls to
System.String except for the System.String:Concat method.
.nf
+
mono --trace=T:System.String,-M:System.String:Concat
+
.fi
Finally, namespaces can be specified using the N: prefix:
.nf
+
mono --trace=N:System.Xml
+
.fi
.SH ENVIRONMENT VARIABLES
.TP