Debugging Swapper operations
Because an ObjectDumper or ObjectLoader simply returns an error code, it can be hard debug your program. The actual error could be a stream in an invalid state, a mistake in a replacement method, or some other error; and the error code sometimes does not provide enough information to pinpoint the problem. To assist with the debugging, place a breakpoint in the beginning of the ObjectSwapper instance method generateError:forObject:. The system calls this method when an error is generated. Make sure that you do not terminate the process, but resume the execution. Note that some cleanup code has to run properly or you can get unpredictable results.
Last modified date: 01/29/2015