Visualize Python function call flows with interactive graphs directly in VS Code and function call tracing with anomaly detection, auto-instrumentation, and plugin system
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Visualize Python function call flows with interactive graphs and function call tracing with anomaly detection, auto-instrumentation, and plugin system - all integrated directly in VS Code.
Features
Interactive Call Flow Visualization: See how your Python functions call each other in real-time
Multiple Layout Options: Hierarchical, force-directed, circular, timeline, and more
3D Visualization: Explore your call graphs in 3D space with interactive controls
Performance Profiling: Built-in CPU profiling to identify bottlenecks
Export Options: Export visualizations as PNG or JSON
Module Filtering: Filter call graphs by module for better clarity
Flamegraph Support: Visualize execution time with flamegraphs
Anomaly Detection: Baseline learning and drift alerts for performance metrics
Auto-instrumentation: Automatic tracing for HTTP, Redis, and Boto3 libraries
Plugin System: Extensible architecture for custom analyzers, exporters, and UI widgets
🔧 Improvements
Enhanced HTML export with anomaly detection reports
Integrated plugin system with built-in analyzers
Improved error handling and user feedback
Better integration with CallFlow Tracer Python library v0.3.2+
Usage
Open a Python file
Right-click and select "CallFlow: Trace Current File" or click the graph icon in the editor toolbar
View the interactive visualization in the CallFlow Tracer panel
Use the controls to change layouts, filter modules, or export the graph
Commands
CallFlow: Trace Current File - Trace the entire current Python file
CallFlow: Trace Selected Function - Trace only the selected function
CallFlow: Show Visualization - Open the visualization panel
CallFlow: Show 3D Visualization - View the call graph in 3D
CallFlow: Clear Trace Data - Clear current trace data
CallFlow: Export as PNG - Export visualization as image
CallFlow: Export as JSON - Export trace data as JSON
✨ New Commands
CallFlow: Analyze Anomalies - Run anomaly detection on current file