Breakpoint Condition
-
I need help, Like we set breakpoint in .net, we can set condition and hit count of that breakpoint in Breakpoint window, now I want to know how to set this condition? Suppose there is variable x, i want to set like if x=5, then only it breaks or breakpoint hit, can we do like this!!!! plz explain in detail!!!!! I tried on my own many times but either breakpoint does not hit, or it says condition is invalid!!!!! I want to set a condition for variable in C#.net
-
I need help, Like we set breakpoint in .net, we can set condition and hit count of that breakpoint in Breakpoint window, now I want to know how to set this condition? Suppose there is variable x, i want to set like if x=5, then only it breaks or breakpoint hit, can we do like this!!!! plz explain in detail!!!!! I tried on my own many times but either breakpoint does not hit, or it says condition is invalid!!!!! I want to set a condition for variable in C#.net
-
I need help, Like we set breakpoint in .net, we can set condition and hit count of that breakpoint in Breakpoint window, now I want to know how to set this condition? Suppose there is variable x, i want to set like if x=5, then only it breaks or breakpoint hit, can we do like this!!!! plz explain in detail!!!!! I tried on my own many times but either breakpoint does not hit, or it says condition is invalid!!!!! I want to set a condition for variable in C#.net
hi frnd, statement x=5 ...........set the value of x to 5. it does not check whether x is equal to 5 or not. You have to use conditional operator(==) instead of assignment(=) operator. So use x==5 as a condition. Ok.:) Bye. Nisar Inamdar.