Abstract
Even experienced programmers create bugs—coding errors that take time to correct. Syntax has to be precisely correct and programming is a complicated task. Computers do exactly what the program says; they are unforgiving. Fortunately, there are tools for locating, understanding, and handling coding errors. Integrated Developments Environments (IDEs), such as PythonWin, have syntax checking and debugging tools. The arcpy package has functions for gathering information about errors and the Python language itself has functions and keywords for handling errors gracefully. This chapter covers error debugging and related topics. The three types of programming errors are: syntax errors, exceptions, and logic errors.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Tateosian, L. (2015). Debugging. In: Python For ArcGIS. Springer, Cham. https://doi.org/10.1007/978-3-319-18398-5_13
Download citation
DOI: https://doi.org/10.1007/978-3-319-18398-5_13
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-18397-8
Online ISBN: 978-3-319-18398-5
eBook Packages: Earth and Environmental ScienceEarth and Environmental Science (R0)