14 releases (breaking)

0.11.1 Aug 11, 2024
0.11.0 Jul 6, 2024
0.10.0 Feb 21, 2024
0.9.0 Nov 6, 2023
0.2.1 May 12, 2021

#63 in Game dev

Download history 1058/week @ 2024-06-22 675/week @ 2024-06-29 1145/week @ 2024-07-06 930/week @ 2024-07-13 1165/week @ 2024-07-20 1176/week @ 2024-07-27 949/week @ 2024-08-03 1426/week @ 2024-08-10 1016/week @ 2024-08-17 1039/week @ 2024-08-24 1065/week @ 2024-08-31 1173/week @ 2024-09-07 1080/week @ 2024-09-14 1514/week @ 2024-09-21 1093/week @ 2024-09-28 707/week @ 2024-10-05

4,579 downloads per month
Used in 5 crates (4 directly)

MIT/Apache

65KB
1.5K SLoC

bevy_mod_debugdump

Crates.io Crates.io

Live playground: jakobhellermann.github.io/bevy_mod_debugdump

use bevy::prelude::*;
use bevy::log::LogPlugin;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugins(bevy_mod_debugdump::CommandLineArgs)
        .run()
}
cargo run -- --dump-update-schedule

Usage: [--dump-update-schedule file] [--dump-render file] [--no-exit]

Schedule graph

use bevy::prelude::*;
use bevy::log::LogPlugin;

fn main() {
    let mut app = App::new();
    app.add_plugins(DefaultPlugins.build().disable::<LogPlugin>()); // disable LogPlugin so that you can pipe the output directly into `dot -Tsvg`
    bevy_mod_debugdump::print_schedule_graph(&mut app, Update);
}

PreUpdate schedule:

Main (filtered)

See all schedules at docs/schedule.

Render app

Render graph

use bevy::prelude::*;
use bevy::log::LogPlugin;

fn main() {
    let mut app = App::new();
    app.add_plugins(DefaultPlugins.build().disable::<LogPlugin>()); 
    bevy_mod_debugdump::print_render_graph(&mut app);
}
render graph

Extract schedule

ExtractSchedule

Main render schedule

Main

Bevy support table

bevy bevy_mod_debugdump
0.14 0.11
0.13 0.10
0.12 0.9
0.11 0.8
0.10 0.7
0.9 0.6
0.8 0.5
0.7 0.4
0.6 0.3
0.5 0.2
0.5 0.1

Dependencies

~30–67MB
~1M SLoC