Page 1 of 1

Novell Mono Tip

PostPosted: Wed Feb 20, 2008 1:46 am
by Charles
If your program goes into an endless loop you will, of course, hit Control+C to break it. Unfortunately, this is not very informative in its default behavior. To get a stack trace, set the env var MONO_DEBUG to "handle-sigint" and try again.

In a Unix-like shell, that would be:
export MONO_DEBUG=handle-sigint

In Windows:
set MONO_DEBUG=handle-sigint