Contribute Media
A thank you to everyone who makes this possible: Read More

How your Python program behaves: a story on how to build a program slicer

Description

Understanding the control flows in programs can be simple but increasingly difficult once the program becomes more complex. Debugging these programs can become problematic even worse with a meager amount of test coverage. So what to do? Increasing test coverage can cost you quite a lot of time and may not necessarily yield better results.

Using slicing as a technique for debugging programs aids to understand control flow better. A slice is a subset of the program which affects the values of the point of interest, also known as a slicing criterion. Using program slicing, reasoning about your code will become much quicker and easier as you can safely ignore any not relevant parts of the program.

This talk is about building a slicing tool for Python and the journey to this solution.

Details

Improve this page