문제

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