forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Support for exceptions?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
wedoi



Joined: 26 Aug 2005
Posts: 7
Location: Stockholm

PostPosted: Thu Sep 29, 2005 7:37 am    Post subject: Support for exceptions? Reply with quote

Hi,

Anyone having any luck with exceptions?

Code:

   printf( "About to test exceptions\n" );
   try
   {
      throw std::exception();
   }
   catch( std::exception& e )
   {
      printf( "caught exception" );
   }


All I ever see before the PSP crashes is the first print ("About to test exceptions")...

Ideas?
Back to top
View user's profile Send private message
wedoi



Joined: 26 Aug 2005
Posts: 7
Location: Stockholm

PostPosted: Fri Sep 30, 2005 3:55 am    Post subject: Reply with quote

Never mind. Exceptions work fine in user threads but not in kernel threads.
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Fri Sep 30, 2005 6:02 am    Post subject: Reply with quote

Why ain't I surprised? :)
Back to top
View user's profile Send private message
daveyc



Joined: 24 Sep 2005
Posts: 5

PostPosted: Fri Oct 07, 2005 12:04 pm    Post subject: Reply with quote

Is this a limitation of the PSP, or the PSPSDK?

eg - Will exceptions ever be support in Kernel mode?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group