Harry had gone to the Astronomy tower and stood on the edge of it as if to jump off. He ensured Ron went to Dumbledore in hysterics about harry being suicidal and wanting to end the prophecy. As predicted Dumbledore had arrived and in a clam manner asked him "What’s this now Harry..."