IDE debugging?

and the line numbers given are almost always correct

except when a missing ) or } affects something many lines away. Have done that to myself - had tabbed out the code, and the error was in a different tab! That was fun to find.