First of all, this is not a concrete problem that requires solving, but rather a general programming question.
There are several situations in which the standard "send/don't send" error will be thrown by the program. The error report will include a lot of data, including parts of the RAM used by the program, as well as other technical specifications. What I am asking is: how to find out what particular code caused the error, in order to solve it?