Mono has an strace-like feature built into the runtime. This is useful to see which methods are being called by your application, just invoke Mono with --trace.Our upcoming version has a neat new feature, when you use --trace=E:ExceptionName or --trace=E:all you get a stack trace of where the exception was thrown from: $ gmcs.exe
mono$ gmcs missing.cs
error CS2001: Source file `missing.cs' could not be found
Compilation failed: 1 error(s), 0 warningsAnd now with tracing enabled, we do it setting the MONO_ENV_OPTIONS variable Read more: Miguel de Icaza's web log
mono$ gmcs missing.cs
error CS2001: Source file `missing.cs' could not be found
Compilation failed: 1 error(s), 0 warningsAnd now with tracing enabled, we do it setting the MONO_ENV_OPTIONS variable Read more: Miguel de Icaza's web log