The CodeInvestigator application was designed to be a tracing tool for Python programs. Program flow, function calls, variable values and conditions are all recorded for every line your program executes. Debug at any point and in any direction. Scroll the code to the line you’re interested in and click the variable. Its value is then displayed between the code lines.