Set line numbers for better runtime error reporting when an exception is thrown.