Support for exceptions?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
wedoi
Posts: 7
Joined: Fri Aug 26, 2005 6:02 am
Location: Stockholm

Support for exceptions?

Post by wedoi »

Hi,

Anyone having any luck with exceptions?

Code: Select all

	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?
wedoi
Posts: 7
Joined: Fri Aug 26, 2005 6:02 am
Location: Stockholm

Post by wedoi »

Never mind. Exceptions work fine in user threads but not in kernel threads.
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

Why ain't I surprised? :)
daveyc
Posts: 5
Joined: Sat Sep 24, 2005 11:59 am

Post by daveyc »

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

eg - Will exceptions ever be support in Kernel mode?
Post Reply