You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just getting familiar with Bevy, Rust, and ECS. Loving it, but it's a challenge for a gray-haired fellow brought up on assembly, then Pascal, C++, and Java. Really like ECS as an antidote to class problems I've been struggling with for decades.
But I tend to like to see what I'm working on if possible.
When I'm at a breakpoint my IDE (RustRover) shows an entity only as its index; i.e. expanding e in the debug variables pane after this statement doesn't show me the entity itself. let mut e = commands.entity(glow.0);
I happily discovered e.log_components();
But I wonder if there's another way to browse the entity, components, &c. and how they all relate (pointers?, hashmaps? hierarchies? lists?) as I debug.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm just getting familiar with Bevy, Rust, and ECS. Loving it, but it's a challenge for a gray-haired fellow brought up on assembly, then Pascal, C++, and Java. Really like ECS as an antidote to class problems I've been struggling with for decades.
But I tend to like to see what I'm working on if possible.
When I'm at a breakpoint my IDE (RustRover) shows an entity only as its index; i.e. expanding
e
in the debug variables pane after this statement doesn't show me the entity itself.let mut e = commands.entity(glow.0);
I happily discovered
e.log_components();
But I wonder if there's another way to browse the entity, components, &c. and how they all relate (pointers?, hashmaps? hierarchies? lists?) as I debug.
Beta Was this translation helpful? Give feedback.
All reactions