Real-time visualiser for Python stack samples, inside VS Code. Watch call stacks being entered and exited, threads spawn and terminate, and loops make progress, live.
This extension bundles the FadeTop binary (built on py-spy and ratatui) and runs it in a VS Code terminal.
Commands
FadeTop: Attach to Process... lists running Python processes with their memory use and uptime, refreshing every 2 seconds. Filter by name, command line or PID, or type any PID, and FadeTop attaches to the one you pick. It is the same list the dashboard shows.
FadeTop: Open Dashboard opens the FadeTop process-selection dashboard.
Permissions
FadeTop needs the same permissions as py-spy. On Linux, set /proc/sys/kernel/yama/ptrace_scope to 0 or enable fadetop.useSudo. The extension warns you before attaching if ptrace is restricted. In containers, add --cap-add=SYS_PTRACE.
Settings
Setting
Description
fadetop.samplingRate
Sampling rate in Hz
fadetop.windowWidth
Visible time window, e.g. 100s
fadetop.configFile
Path to a FadeTop TOML config (defaults to fadetop_config.toml in the workspace)