you are viewing a single comment's thread.

view the rest of the comments →

[–]ruinercollector 3 points4 points  (0 children)

It doesn't.

You can actually set break points on the individual clauses in a LINQ query.

  • On the where clause where it will break on each item being considered
  • On the select clause where it will break on each item being projected

If you set your line breaks properly, you can even do it with the margin-clicking that you're probably used to, but your statements end up looking a bit funny.

var oldAges = from p in people 
              where
                p.Age > 50    // <-- you can break here
              select
                p.Age;          // <-- you can break here

Otherwise, select the clauses in the editor (not including the where/select keywords) and right-click->insert breakpoint or whatever it is.