-
Notifications
You must be signed in to change notification settings - Fork 4k
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
RC 26127.3: Debugger broken when using tuples #16879
Comments
Interesting. Visualizing |
@YaakovDavis Thanks for reporting this problem. |
I can confirm that I'm using the Nuget package as well. In case it helps, the following repros it as well:
|
Downgrading the nuget package to |
I had this issue too and it was resolved by downgrading to My version spam:
|
Here's my understanding (@cston can correct): As to why the problem occurs with the release version of the ValueTuple package but not the pre-release version, that is even more obscure (relates to the runtime) and I do not fully understand it. @cston, I believe that there is no known workaround aside from using the pre-release of the ValueTuple package. Is that correct? |
Wow. I had the bad luck of just running into this issue. Is there a rough ETA on the next release? |
@jcouv I'm not aware of a workaround other than referencing the pre-release System.ValueTuple package. With the earlier package, the required assembly, System.Runtime.dll, is loaded by the debugger before hitting the breakpoint, at least with this example. |
@formdk Sorry, I couldn't find any announced dates yet. |
Just updated the latest version 15.0.26228.12 D15RTWSVC. Issue still there. is it not released yet? It is a pain not being able to debug. |
Two updates:
|
i can confirm that the bug repros with ValueTuple 4.3.0, but not with 4.3.0-preview1-24530-04. |
Version Used: 26127.3
Steps to Reproduce:
a
. No info tooltip will appear.a
and select Quick Watch. The following error will be displayed:error CS8182: Predefined type 'ValueTuple`2' must be a struct
The above behavior reproduces for any variable/field used in the method body, except for the tuple ones.
When removing the code that uses tuples, debugging works normally.
The text was updated successfully, but these errors were encountered: