Smarter long line trimming in stack traces