Welcome to MacForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

exception handling problem in xcode

 
   Macintosh computer (Home) -> Tools RSS
Related Topics:
Xcode Debugger problem - I am using Xcode 1.5 on a standard tool (very vanilla C command line program) and the debugger window is messed up. The stack display gets lost. The window below the tool bar is divided roughly in half with the left half the..

XCode project problem - I have a rather large XCode project that seems to have some internal errors, when I open it and use it I get a stream of dialog boxes saying: Internal Error File:

Weird XCode-only debug problem - I'm working on some code I'd like to step through in a debugger. If I do this in XCode, there's a point where stepping over lines blocks for long times, and where I get messages in the debugger console reading out

How do I use CVS with Xcode? - [ My apologies if this is I don't know whether my ISP's news server is set up right. ] I want to use Xcode to help manage the files in a PHP project I'm working on. There were a couple of files available for Project Builder to get it to..

How do I use CVS with Xcode? - [ My apologies if this is I don't know whether my ISP's news server is set up right. ] I could use some help figuring out how to use CVS with Xcode! I set up my CVS and imported my source code files into CVS and checked them..
Next:  Tools: applescript lexer for Pytthon/pygments  
Author Message
gauravbjain

External


Since: Dec 09, 2006
Posts: 2



(Msg. 1) Posted: Sat Dec 09, 2006 6:24 am
Post subject: exception handling problem in xcode
Archived from groups: comp>sys>mac>programmer>tools (more info?)

Hi,

I am facing a problem with exception handling code in Xcode. I have
code like following:


typedef short EXCPTN;
void my_func()
{

try
{

A(); // Inside this function a exception of type EXCPTN is thrown;
}
catch( EXCPTN ex)
{
//handling code here, doesn't get hit.
}
catch(...)
{
//handling code here. doesn't get hit.
}
}


As soon as the exception is thrown inside method A(), the application
gets terminated. Essentially it doesn't come to the handler which I
have written here. The same piece of code works fine using Visual
Studio 2005. I am building it with -fexceptions compiler option. I
tried to remove -fvisibility=hidden, which is on by default, even that
did not help.

The Xcode version: 2.3, using GCC: 4.0.

Has anyone faced this problem or have some idea about what to do here?

Thanks.
GJ

 >> Stay informed about: exception handling problem in xcode 
Back to top
Login to vote
David Phillip Oste

External


Since: Apr 25, 2004
Posts: 1081



(Msg. 2) Posted: Sat Dec 09, 2006 7:41 pm
Post subject: Re: exception handling problem in xcode [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <1165674244.800932.93180 RemoveThis @n67g2000cwd.googlegroups.com>,
gauravbjain RemoveThis @gmail.com wrote:

> Has anyone faced this problem or have some idea about what to do here?

4.) Learn to crosspost. I already answered in detail in another group.

 >> Stay informed about: exception handling problem in xcode 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> Tools All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]