Skip to main content

Code for 'The Debugging Book' (https://www.debuggingbook.org/)

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

debuggingbook-1.3.2.tar.gz (167.2 kB view details)

Uploaded Source

File details

Details for the file debuggingbook-1.3.2.tar.gz.

File metadata

  • Download URL: debuggingbook-1.3.2.tar.gz
  • Upload date:
  • Size: 167.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for debuggingbook-1.3.2.tar.gz
Algorithm Hash digest
SHA256 b5ec7526484188b0d76cd7811cdd9c42b90e573052934b8ef264a7bfecf369a4
MD5 61392f49bc8fa210518b427b93890ca8
BLAKE2b-256 d08929211f57dff11e90d54358ace441ad32b20c1370db94bcbb4a9ca73e1c93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page