Exceptions disappear when thrown in callback

From: Date: Wed, 15 Mar 2006 16:16:59 +0000
Subject: Exceptions disappear when thrown in callback
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2616@lists.php.net to get a copy of this message
Hello all, There is a real big problem with Exceptions and callbacks: If an exception is thrown while you are in a callback (e.g. when a button has been clicked), the php code stops executing, but no exception is shown (dumped to the console). That is really annoying, because you never know when an exception has been thrown unless you catch it before the callback returns. I had several bang-head-against-desk situations because I absolutely didn't know *where* the exception occured, and the code just hang. IMO the callback handler in php-gtk should stop the main loop and dump the exception as it's done in php itself. -- Regards/MfG, Christian Weiske

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.gtk.dev (#2616) next »