Log "NULL" for NULL pointers. Log the correct type instead of <user defined> for pointers and log its fields recursively. Log locals of all threads. Log the address if retrieving the value threw an exception. Increase buffer sizes to avoid buffer overflows.