Flecs-Rust icon indicating copy to clipboard operation
Flecs-Rust copied to clipboard

Variables view not working in VS Code

Open Danvil opened this issue 4 months ago • 3 comments

Not sure if this is an issue with Flecs-Rust specifically, but maybe others had similar problems.

When I try to debug a Rust program using Flecs-Rust in VS Code the variable view is empty in my system callback.

When I go one level up to unsafe extern "C" fn execute_each<const CALLED_FROM_RUN: bool, Func>(..) I see this:

Image

Plenty of "read memory failed" errors and the component tuple seems to be (0x0000000000000000, 0x3e72d2f1295bc0ec, 0x000002d59ce40000).

Danvil avatar Aug 01 '25 17:08 Danvil

hello @Danvil do you still have this issue? I've done plenty of flecs rust debugging and never encountered it.

Indra-db avatar Sep 01 '25 06:09 Indra-db

Didn't see if there was a fix on that, but otherwise it is still the same. I can basically only do printf debugging when using flecs.

Danvil avatar Sep 08 '25 17:09 Danvil

@Danvil I don't have this issue, so I feel like it's an issue on your side. I will ask the Discord channel if anyone has similar issues.

Indra-db avatar Nov 03 '25 10:11 Indra-db