Pregunta de entrevista de Bitvavo

How is heap dump and thread dump useful?