Instrumenting the Wolfram Language

WTC2022

Brenton Bostick

Goals

Profiling

Coverage

Debugging

Background

Instrumentation` is a new CodeTools package that automates instrumentation of WL
code for common software engineering tasks such as profiling and code coverage reporting.

Profiling: collecting timing information about running code

Coverage: collect information about what code runs or does not run

Debugging: step through running code and observe state

Profiling

NotebookOpen[FileNameJoin[{NotebookDirectory[],"ProfileTutorial.nb"}]]

Coverage

NotebookOpen[FileNameJoin[{NotebookDirectory[],"CoverageTutorial.nb"}]]

Debugging