Skip to main content

Code for "The Debugging Book"

This folder holds the code from "The Debugging Book". Software has bugs, and finding bugs can involve lots of effort. This book addresses this problem by automating software debugging, specifically by locating errors and their causes automatically. Recent years have seen the development of novel techniques that lead to dramatic improvements in automated software debugging. They now are mature enough to be assembled in a book – even with executable code.

For details (and all of the book!), see the web site: https://www.debuggingbook.org/

Using the Code

The book has plenty of examples for using the code; you are encouraged to read it and then to use this code to try things out.

Importing

You can import the modules in your own projects and use the infrastructure, as in

from debuggingbook.Debugger import Debugger
with Debugger():
    function__to_be_debugged()

Running

You can also execute the files directly to run the examples from the book, as in

$ ./Debugger.py

Enjoy!

License

Copyright (c) 2018-2025 CISPA, Saarland University, authors, and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for debuggingbook 1.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for debuggingbook 1.3.2
File Size Uploaded
debuggingbook-1.3.2.tar.gz 167.2 kB Details

Release files / debuggingbook-1.3.2.tar.gz

Download URL debuggingbook-1.3.2.tar.gz
Size 167.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b5ec7526484188b0d76cd7811cdd9c42b90e573052934b8ef264a7bfecf369a4
BLAKE2b-256 checksum
How to use checksums
d08929211f57dff11e90d54358ace441ad32b20c1370db94bcbb4a9ca73e1c93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

1.3.2 This release

1 release file

1.3.1

1 release file

1.3

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1

1 release file

1.0.1

1 release file

1.0

1 release file

0.9.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page