ppdb
is a proof-of-concept implementation of a debugger for probabilistic programs.
Download the latest version of the debugger's GUI or command line interface from the project's Releases page and run it.
Sample programs to debug can be found in the Samples folder
- Install Swift on your machine as described on swift.org
- Download the latest command line executable from the project's Releases page and execute it.
Open the Xcode Project in /GUI/GUI.xcodeproj
and build the GUI
target.
Open the file to debug using the File -> Open menu.
$ cd "Swift Package"
$ swift build
$ .build/debug/ppdb path/to/file/to/debug.sl
> help