
Hey, Is there any tools which create a visual trace of your program execution? So like trace + graphiz something like that?

Something like this so I can visually see how my program is executing?

There are a couple of tools, but I don’t think any of them outputs in the format that you want.

There’s a trace library, which can output the execution trace as text: https://docs.racket-lang.org/reference/debugging.html

DrRacket also has a “Debug” button, which allows you to step through the execution:

Oh! If you have a “simple” program - that is one that can be written in the first two to three beginner languages, then the “Algebraic Stepper” is brilliant.

The downside of both Algebraic Stepper and Debug button is that you don’t see the whole picture at once. You need to interact with the tool to see your program evaluation evolves.