Debug Commands - HACKT PRSIM Manual
Description: HACKT PRSIM Manual

Previous: Tracing Commands, Up: Commands

### 3.9 `debug` Commands

This section is reserved for commands that are only useful for debugging the simulator. Some commands that end in `-debug` have already been mentioned in the other sections.

— Command: check-structure

> Check internal graph/tree/map data structures for consistency and coherence.

— Command: check-queue

> Check internal event queue (as seen by queue) for inconsistencies, such as missing back-links, multiply referenced nodes... (Because the simulator was not perfect.)

— Command: memstats

> Show memory usage breakdown of the simulator.