I have this code
method MainViewController.doStuff(sender: id);
begin
dispatch_async(Queue, method begin
try
raise new NotImplementedException withName('ProxyException') reason('') userInfo(nil);
except
on E:NotImplementedException do
begin
NSLog('Some exception');
end
end;
end);
end;
in an iPhone app with the method attached to a button. When I hit the button the debugger stops
Exception on thread [no thread]
Type:
Message: An exception of type: occurred:
Should it say [no thread]
without the dispatch async it reports the thread id.
Is the lack of exception type a known issue ? I seem to remember this happening before.
Cheers,
John