def getcrashentry(self):
for i in range(-<NUM_LIT:1>, -len(self) - <NUM_LIT:1>, -<NUM_LIT:1>):<EOL><INDENT>entry = self[i]<EOL>if not entry.ishidden():<EOL><INDENT>return entry<EOL><DEDENT><DEDENT>return self[-<NUM_LIT:1>]<EOL>
return last non-hidden traceback entry that lead
        to the exception of a traceback.