in reply to
Re: Tracking down the line in error or warning
in thread Tracking down the line in error or warning
Yeah, I was going to throw that in, too. Some well placed print statements can really make debugging easier.
Also, and this may be obvious, but a text editor that shows the line numbers and highlights code can be a big help, too. Scanning through huge scripts looking for all the opening and closing brackets on functions is a lot easier when code is all pretty. It's embarrassing to me how many times my errors have just been one too many, or too few, brackets, parenthesis, or some similar typo.