Appendix : Debugging and Development Tools
Introduction
Logging and Diagnostics
Enable Verbose Logging
[rpc_startup]
command = log_level
severity = debug
[logging]
debug
rpctail -f /var/log/rippled/rippled.log | grep -i nodestoreKey Log Messages
Metrics Inspection
JSON-RPC Inspection
File System Inspection
Debugging Specific Issues
Issue: Cache Hit Rate Too Low
Issue: Write Performance Degradation
Issue: Synchronization Slow
Code Debugging
Building with Debug Symbols
GDB Debugging
Common Breakpoints
Print Useful Data
Performance Profiling
CPU Profiling with Perf
Memory Profiling with Valgrind
Custom Instrumentation
Test-Driven Debugging
Running Unit Tests
Writing Debug Tests
Useful Commands
Check Configuration
Monitor in Real Time
Database Inspection
Log Analysis
Performance Regression Testing
Benchmark Before/After
Load Testing
Common Issues and Solutions
Issue
Investigation
Solution
PreviousAppendix : Configuration ReferenceNextTransactors: Understanding the Lifecycle of a Transaction
Last updated

