diff options
author | Zoltan Varga <vargaz@gmail.com> | 2005-05-17 18:18:35 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2005-05-17 18:18:35 +0400 |
commit | 1ae1c9fa9d7f986bbe5181adf0df9359cf4784e7 (patch) | |
tree | aebb9b8c28231c7b3d9a4adfd82ca5362f51e63e /man | |
parent | b0f85d637a535034463aac8d301f13ddec0a3e05 (diff) |
2005-05-17 Zoltan Varga <vargaz@freemail.hu>
* man/mono.1: Document the new MONO_DEBUG options.
svn path=/trunk/mono/; revision=44630
Diffstat (limited to 'man')
-rw-r--r-- | man/mono.1 | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/man/mono.1 b/man/mono.1 index 19043b32c21..e98f7fda29a 100644 --- a/man/mono.1 +++ b/man/mono.1 @@ -356,23 +356,28 @@ environment variable. .TP .I "MONO_DEBUG" If set, enables some features of the runtime useful for debugging. -Currently this enables two features: stack traces when interrupting -the process from the shell; Visible error messages on assembly -loading and also to track problems with delegates that are released, -but a reference is kept in unmanaged code. +This variable should contain a comma separated list of debugging options. +Currently, the following options are supported: .TP -The stack tracing option makes the runtime display the stack traces +.I "handle-sigint" +This option makes the runtime display the stack traces for all the threads running and exit when mono is interrupted (Ctrl-C) and print some additional messages on error conditions. It may not exit cleanly. Use at your own risk. .TP -Also, this option will leak delegate trampolines that are no longer +.I "keep-delegates" +This option will leak delegate trampolines that are no longer referenced as to present the user with more information about a delegate missuse. Basically a delegate instance might be created, passed to unmanaged code, and no references kept in managed code, which will garbage collect the code. With this option it is possible to track down the source of the problems. .TP +.I "abort-on-sigsegv" +This option will make the runtime abort when it receives a SIGSEGV signal +while executing unmanaged (native) code. This is useful for debugging +problems when interfacing with native code. +.TP .I "MONO_DISABLE_AIO" If set, tells mono NOT to attempt using native asynchronous I/O services. In that case, a default select/poll implementation is used. Currently only epoll() |