Skip to content

linharesh/debugprov-hotfix

Repository files navigation

DebugProv

DebugProv is an algorithmic debugger designed to locate defects in python programs.
Through the provenance enhancement technique, DebugProv can remove from the search space sub-computations that did not contribute to the production of an incorrect output, reducing the number of questions in the navigation phase of algorithmic debugging.

Team

The main DebugProv team is composed by researchers from Universidade Federal Fluminense (UFF) in Brazil.

  • Henrique do Prado Linhares (main developer)
  • João Felipe Pimentel
  • Troy Costa Kohwalter
  • Leonardo Gresta Paulino Murta

Publications

  • LINHARES, H.; PIMENTEL, J. F. N.; KOHWALTER, T.; MURTA, L. G. P.; Provenance-enhanced Algorithmic Debugging. In: Brazilian Symposium on Software Engineering (SBES), 2019, Salvador, Brazil.

Quick Installation

To install DebugProv, you should first set up a Python 3.7 environment.

The requirements for running DebugProv are: noWorkflow 2.0-alpha, graphviz, and prompt-toolkit.

To install noWorkflow 2.0-alpha, follow these basic instructions:

$ git clone git@github.com:gems-uff/noworkflow.git
$ cd noworkflow
$ git checkout 2.0-alpha
$ cd capture
$ python setup.py install

This installs noWorkflow 2.0-alpha.

To install the other dependencies, please do:

$ pip install graphviz
$ pip install prompt-toolkit

Basic Usage

To start an algorithmic debugging session of a defective Python program, you should run:

$ debugprov program.py

To pass arguments to the program:

$ debugprov program.py first_arg second_arg 

Acknowledgements

We would like to thank CAPES and CNPq for partially supporting this work.

License Terms

The MIT License (MIT)

Copyright (c) 2019 Universidade Federal Fluminense (UFF).

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published