# File glib/src/lib/glib2.rb, line 37 def exit_application(status) msg = $!.message || $!.to_s msg = $!.class.to_s if msg == "" backtrace = $!.backtrace $stderr.puts backtrace.shift + ": #{msg}" backtrace.each do |v| $stderr.puts "\t from #{v}" end exit(status) end