2022-08-05 22:05:10 +00:00
|
|
|
| [Home](/trick) → [Documentation Home](../Documentation-Home) → [Simulation Capabilities](Simulation-Capabilities) → Echo Jobs |
|
|
|
|
|------------------------------------------------------------------|
|
2019-11-20 17:04:58 +00:00
|
|
|
|
|
|
|
Echo Jobs is a handy debugging toggle provided by Trick. When turned on, Echo Jobs will print the current simulation time and
|
|
|
|
the name of the current job being executed. Echo Jobs is a convenient way to see the order of job execution and narrow down when
|
|
|
|
and where something occurs during a simulation run.
|
|
|
|
|
|
|
|
All jobs (user jobs and Trick jobs) of the following job class will be echoed:
|
|
|
|
|
|
|
|
- initialization
|
|
|
|
- integration
|
|
|
|
- scheduled
|
|
|
|
- end_of_frame
|
|
|
|
- shutdown
|
|
|
|
|
|
|
|
Echo Jobs uses Trick's messaging system to publish each sim time / job name message,
|
|
|
|
which means it will be sent to any enabled message subscribers (see @ref StatusMessageSystem "Status Message System").
|
|
|
|
|
2023-04-21 22:32:31 +00:00
|
|
|
## User accessible routines
|
2019-11-20 17:04:58 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
int echo_jobs_on() ;
|
|
|
|
int echo_jobs_off() ;
|
|
|
|
```
|
|
|
|
|
|
|
|
[Continue to Variable Server](Variable-Server)
|