Photon
Scriptable debugger for Solana programs. Step through transactions and bytecode instructions, inspect account states, and restore memory snapshots to identify issues in real-time.
Overview
Photon is a scriptable debugger built specifically for Solana programs, enabling developers to step through transactions and bytecode instructions with precision. By providing real-time inspection of account states and the ability to restore memory snapshots, it transforms the debugging experience from guesswork to systematic analysis.
Photon gives developers complete visibility into program execution, allowing them to identify and resolve issues faster than traditional debugging methods.
Why Photon?
Traditional Solana debugging relies on logs and trial-and-error, making it difficult to understand program behavior at runtime. Without visibility into bytecode execution and account state changes, developers spend excessive time tracking down bugs and reproducing production issues.
Photon solves this by providing a scriptable debugging environment where developers can step through transactions instruction-by-instruction, inspect account states at any point, and restore memory snapshots to replay execution. This level of control transforms debugging from reactive troubleshooting to proactive analysis.
By enabling real-time inspection and programmable debugging workflows, Photon dramatically reduces the time required to identify and fix issues, while providing developers with the deep understanding needed to prevent similar problems in the future.
How It Works
Model Environment
Choose the blockchain state you desire with the accounts and programs you need
Debug Transaction Execution
Set breakpoints at desired program instructions, and step through bytecode with precise execution control
Inspect States
View account states and memory content in real-time
Restore, Replay & Automate
Restore memory snapshots, replay execution to identify issues, and automate debugging tasks
Key Features
Bytecode Stepping
Step through bytecode instructions one at a time for precise execution analysis.
Transaction Replay
Replay transactions from mainnet to debug production issues locally.
Real-Time Inspection
Inspect account states in real-time during execution for immediate visibility.
Memory Snapshots
Restore memory snapshots to replay execution from specific points in time.
Scriptable Interface
Automate debugging workflows with a programmable scripting interface.
Mainnet Fork Support
Debug mainnet transactions locally with full state and account data access.
Use Cases
Local Development
Production Debugging
Scriptable Workflows
Debug with Precision and Control
Get early access to scriptable Solana debugging