Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakpoints on . #14198

Closed
AdamSpeight2008 opened this issue Sep 29, 2016 · 3 comments
Closed

Breakpoints on . #14198

AdamSpeight2008 opened this issue Sep 29, 2016 · 3 comments

Comments

@AdamSpeight2008
Copy link
Contributor

We should be able to place a breakpoint on the member invocation eg the dot .
Which would facilitate the debugging of chained methods, with breaking into separated invocations.

@AdamSpeight2008
Copy link
Contributor Author

Since this could be a performance hit, I'd be ok if it an user option to enable or disable.
UI-wise we could implement an "horizontal margin" into the IDE

*  Represents a breakpoint (enabled)


* 42 || var en = GetTheEnumerable
     + \----------------------------------------------------------------------
     | |            *           *                         *         *
     + /----------------------------------------------------------------------    
  43 || var res = en.Where((e,i)=> i.IsPrime && e != null).Select( e=> e)

@timopomer
Copy link

truth, anyone who debugged linq extension methods knows exactly the pain of cutting a line of code into different temporary variables for debugging purpuses

@tmat tmat added this to the Unknown milestone Apr 19, 2017
@tmat
Copy link
Member

tmat commented Sep 10, 2017

Since similar feature request have been made previously I have filed a more general issue to track feature of placing breakpoint on an arbitrary expression: #22016. I would not hold my breath though expecting this feature to be implemented any time soon.

@tmat tmat closed this as completed Sep 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants