Hi Flatmush,
> Use psplink for finding exceptions
I will investigate this
> and I know this is going to sound stupid but it's a lot easier not to make bugs in the first place than to track them.
Good practice, I will try to remember this simple rule

> For the psp you should write an error logger before anything else and code defensively to detect errors even if they're unlikely to happen.
I already added an assert handler, log file and a function to check if I override my stack.
> Always check for null pointers, invalid function parameters, failed file reads/writes, failed allocations, etc.
In my project asserts are fatal so
assert(false);
will popup a message box and jump back to the XMB, the same is true for failed allocations
char* ptr = new char[24*1024*1024];
char* ptr = malloc(24*1024*1024);
both will write the requested allocation to my log file, close the log file and jump back to the XMB
Thx.