سؤال

Can I have a conditional breakpoint in visual studio? For example, I want the run to break in case a boolean value is changed to true. Can I do it? If so, how?

Thanks

هل كانت مفيدة؟

المحلول

Sure You have to set breakpont and right click on it. From context menu choose "Condition..." and type your variable name there. And select "Is true". In condition field you can write an expression like in if statement.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top