I suggest you ...

LINQ Debugging

Improve debugging support for Ix and Rx queries in the IDE. Specifically, a condensed call stack view that was more of a "query stack" would be great. It would also be great if we could hook into the "query stack" features from our own LINQ-based APIs.

101 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    DaveDave shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    AmitAmit shared a merged idea: enable executing LINQ queries while debugging  ·   · 

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Matt DowningMatt Downing commented  ·   ·  Flag as inappropriate

        I think you are trying to say what I'm thinking... Linq is amazing. But debugging it is a pain.

        What I would like is for debug to be able to move through Linq clauses one at a time, calling the equivalent of ToArray() (or something) so I can see the state of the resultset at each stage.
        Otherwise when faced with .Where(...).GroupBy(...).Where(...).Select(...) etc to debug you'd need to break your code into lots of little queries, forcing the code to be in a "development" state rather than a more efficient "release" state.

        Is that your idea?

      Feedback and Knowledge Base