1.1 KiB
1.1 KiB
MARTe2 Debug Suite
An interactive observability and debugging suite for the MARTe2 real-time framework.
Quick Start
1. Build the project
. ./env.sh
cd Build
cmake ..
make -j$(nproc)
2. Run Integration Tests
./Test/Integration/ValidationTest # Verifies 100Hz tracing
./Test/Integration/SchedulerTest # Verifies execution control
3. Launch GUI
cd Tools/gui_client
cargo run --release
Features
- Live Tree: Explore the MARTe2 object database in real-time.
- Oscilloscope: Trace any signal at high frequency (100Hz+) with automatic scaling.
- Signal Forcing: Inject values directly into the real-time memory map.
- Log Forwarding: Integrated framework log viewer with regex filtering.
- Execution Control: Global pause/resume via scheduler-level hooks.
Usage
To enable debugging in your application, add the following to your .cfg:
+DebugService = {
Class = DebugService
ControlPort = 8080
UdpPort = 8081
}
The suite automatically patches the registry to instrument your existing Brokers and Schedulers.