debug: add memory debug window
enable with: $ cargo build --release --features memory and then click the memory widget on the chrome sidepanel currently doesn't track C allocations... we should fix that Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -28,6 +28,7 @@ tracing-appender = { workspace = true }
|
||||
tracing-subscriber = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
profiling = { workspace = true }
|
||||
re_memory = { workspace = true, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = { workspace = true }
|
||||
@@ -45,6 +46,7 @@ path = "src/notedeck.rs"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
memory = ["re_memory"]
|
||||
puffin = ["profiling/profile-with-puffin", "dep:puffin"]
|
||||
debug-widget-callstack = ["egui/callstack"]
|
||||
debug-interactive-widgets = []
|
||||
|
||||
Reference in New Issue
Block a user