[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exception and selector performing
From: |
Stefan Urbanek |
Subject: |
Re: Exception and selector performing |
Date: |
Sun, 08 Aug 2004 21:18:43 +0200 |
Additional information ...
On 2004-08-08 21:13:41 +0200 Stefan Urbanek <stefan@agentfarms.net> wrote:
Hi,
Here is the situation: I have DO connection: [Observer] <-----> [Server]. I
do:
1. send oneway message from Observer to Server
2. server does something and uses
performSelectorOnMainThread:@(notyfyObserver)
withObject:self
waitUntilDone:NO'
3. 'notifyObserver' is run in server and it sends a message to Observer
4. when there is an exception in an observer method it is swallowed
And (4.) is the problem, as it is really dificult to debug any application if
there is an exception. How do I know that there was an exception?
All used observer methods are oneway, what explains why the exception is
ignored. However, there is no feedback at all. At least some message shold be
printed or something.
Is it a bug or a feature?
Thanks,
Stefan
_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep
--
http://stefan.agentfarms.net
First they ignore you, then they laugh at you, then they fight you, then you
win.
- Mahatma Gandhi