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 am using C/C++ Extension with msvc debugger for Rust. There is a good support to visualize variables from Rust and I can extend it with my custom natvis.
However, when I want to do conditional breakpoint, it is not working as expected. For example consider a struct like below,
struct test {
my_str: String,
my_f32: f32,
my_vec: Vec<String>,
}
I would like to set conditional breakpoint with similar to below conditions my_test.my_str == "Test" my_test.my_f32 == 3.1 my_test.my_vec[0] == "Test"
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 am using C/C++ Extension with msvc debugger for Rust. There is a good support to visualize variables from Rust and I can extend it with my custom natvis.
However, when I want to do conditional breakpoint, it is not working as expected. For example consider a struct like below,
I would like to set conditional breakpoint with similar to below conditions
my_test.my_str == "Test"
my_test.my_f32 == 3.1
my_test.my_vec[0] == "Test"
Can you tell me how I can achieve this?
Beta Was this translation helpful? Give feedback.
All reactions