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/mcs.1
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2012-02-06 16:26:21 +0400
committerMarek Safar <marek.safar@gmail.com>2012-02-06 16:26:21 +0400
commit11df072ef3dcd7dc16d71270230e3ad6bde90cf4 (patch)
tree174ac280fae1d771dc2cda70757703afae74c31a /man/mcs.1
parent396726b991f700d800dbda52720d1c7d6088f502 (diff)
Allow codegen optimizations only when specified to enable better debugging experience
Diffstat (limited to 'man/mcs.1')
-rw-r--r--man/mcs.111
1 files changed, 6 insertions, 5 deletions
diff --git a/man/mcs.1 b/man/mcs.1
index ce82ecbaafd..71915a29c22 100644
--- a/man/mcs.1
+++ b/man/mcs.1
@@ -94,10 +94,10 @@ or can be used by methods that have been tagged with the Conditional
attribute.
.TP
.I \-debug, \-debug+
-Generate debugging information. To obtain stack traces with debugging
+Generate debugging information. To obtain stack traces with debugging
information, you need to invoke the mono runtime with the `--debug'
-flag. This debugging information is stored inside the assembly as a
-resource.
+flag. The debugging information is stored in a MDB file located in
+same output folder as produced assembly.
.TP
.I \-debug-
Do not generate debugging information.
@@ -218,9 +218,10 @@ Makes the compiler ignore warnings specified in the comma-separated
list WARNLIST>
.TP
.I -optimize, -optimize+, -optimize-
-Controls whether to perform optimizations on the code. -optimize and
+Controls compiler code generation optimizations on the code. Using -optimize or
-optimize+ will turn on optimizations, -optimize- will turn it off.
-The default in mcs is to optimize+.
+The default in mcs is to optimize-. The option can be mixed with -debug
+but for the best debugging experience it is recommended leave the options off.
.TP
.I -out:FNAME, -o FNAME
Names the output file to be generated.