APP written in B4A sometimes crash at runtime. It is necessary that write the debug information to a log file to find the reason.