Hey,

On Wed, 2008-04-09 at 01:18 -0700, Chuck Esterbrook wrote:
> When I hit Control+C in a Python console program, I get a stack trace
> which is quite useful. If for some reason I don't want that behavior,
> I can catch KeyboardInterrupt.
> 
> I'd like to get a stack trace for Mono console programs when I hit
> Control+C. Instead it exits with no message at all. I tried compiling
> and running with debug flags, but that didn't change the behavior.
> 
> Is this possible?

With open source, everything is possible!

The only downside is that this might require some work (some code, plus
documentation updates).

Currently you can get such stack traces by sending the QUIT signal to a
process (kill -QUIT PID), so the code exists to do that, but its not
hooked up to Control-C.    

Am not sure that it is a good idea to do by default, but if anything,
that should be discussed on [email protected], not the OSX
specific list.

Miguel.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to