[Gtk-sharp-list] Global exception handler

Elmar Haneke elmar at haneke.de
Wed May 30 09:51:01 EDT 2007

How can I make an GTK#-application handle exceptions similar to an
Delphi program:

Once an unhandled exception occurs the program should be resumed after
an error message.

Just placing an except statement to the main-loop does handle the
exception but results in an segfault afterwards:

while (true) {
  try {
  } catch (Exception ex) {

More information about the Gtk-sharp-list mailing list