Try to move cursor to line where an exception occurred.