2 ms·
Put your cursor on the part of the expression that you want to debug and press F9 to set a breakpoint. Setting breakpoints by clicking in the gutter doesn't wo
by politician 15y ago
Put your cursor on the part of the expression that you want to debug and press F9 to set a breakpoint. Setting breakpoints by clicking in the gutter doesn't work for LINQ like you might expect - you have to use the hotkey.
I frequently hear complaints about debugging LINQ, but Visual Studio supports it well enough. Microsoft could have done a better job informing people about it.
- smhinsey 15y agoWow, that is probably going to help a lot, thanks. I've been using VS since the 90s and I still feel like I don't know half of what it can do. I'm not sure how to fix this, but I am pretty sure the increasing tendency to release documentation as videos is not the answer.