Reputation: 13
There's no longer a context menu option to set a breakpoint "in-line". Example:
if (someBoolean) return CallToMyMethod();
With previous versions of VS I could simply right click "CallToMyMethod" and set a breakpoint there. There doesn't seem to be a way of doing this anymore?
Upvotes: 1
Views: 2712
Reputation: 734
Just highlight the method name or the part where you need the breakpoint and then press F9.
Upvotes: 6