The Watches of the Debugger doesn't work if the properties to watch belong to a base class
Completed
First, sorry for my English
Let me say something like this:
-------------------------
public class A {
public int ParentProp {get;set}
}
public class B : A {
public int ChildProp {get;set}
}
--------------------
So now, If I debug class B, I unable to see the value of the "ParentProp" from the Watches window and the tooltip as well, it shows "Unknown member" instead.
Please see the picture to see more details. In this case, the "pageFunction" property is belong to a base class
---
Here is my Rider information from 'About' menu:
Rider 2017.1.1
Build #RD-171.4456.2813, built on August 21, 2017
Licensed to tronjs
JRE: 1.8.0_112-release-736-b22 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Please sign in to leave a comment.
Hello! Could you please provide me with more details about your environment?
Yes, I added my Rider information. Thank you.
Did anyone face this issue?
Rider Team, please take a look at it and fix it if it's a bug. I like Rider but sometimes this issue makes me so annoying.
Please. Thank you so much!
Sorry, can't reproduce it using your example. Does this problem appear always in case of parent properties?
I think it's not always but at least it occured to my current project in that case.
I am working on ASP.net webform projects.The main project is running .NET 4.6, it reference to a project in .NET 3.5 which define the following hierarchy:
+ My .NET 3.5 project
|
|__BaseClass
|
|__ChildClass:BaseClass
Then my main ASP.net webform project call to ChildClass but the debugger do not let me evaluate some properties in BaseClass, it always show "Unknown member". I don't know what happened with Rider about that "Unknown member" message??
This issue related to an old version and now should be resolved.
Please, contact us if you still have this issue or in case of any other questions or problems.
Thank you!