raddebugger icon indicating copy to clipboard operation
raddebugger copied to clipboard

[rust] Some values show up incorrectly

Open Jasper-Bekkers opened this issue 1 year ago • 3 comments

I'm not sure how eager this project is in supporting Rust and I don't expect much at the moment, but since the Rust compiler outputs regular pdb's most of the features to work out of the box. However, in this particular case some values are displayed incorrectly.

image

Visual Studio for reference image

My expectation would be that fence_value would be 1 (rust variables are immutable by default), and self would also contain a sensible value.

Jasper-Bekkers avatar Jan 11 '24 22:01 Jasper-Bekkers

Fwiw, I've tagged this as rust but don't think this would be a rust bug per-se, though it may be triggering some corner cases here and there.

Jasper-Bekkers avatar Jan 11 '24 22:01 Jasper-Bekkers

I've found rust has some issues with visual studio debugger as well. https://github.com/rust-lang/rust/issues/108972

jestarray avatar Jan 12 '24 00:01 jestarray

@Jasper-Bekkers Can you try this again with the newest location info fixes in 0.9.6? Thanks.

ryanfleury avatar Jan 25 '24 05:01 ryanfleury

Many relevant systems have been fixed & changed since this was posted, so this may have been resolved. I've not reproduced this exact Rust situation locally (as it seems easiest to identify in fairly contextual circumstances), so please re-open this issue if you notice the same bugs on newer builds.

ryanfleury avatar Mar 29 '24 03:03 ryanfleury