I am debugging the application, and at some point I have a list with the number of elements, which prevents me from following each element step by step. I wanted to check what value is inside the Layer property of an element with PropertyName = "XXX". Is there an easy way to do this?

External code:
var metadata = FieldsConfigurationProvider.GetAllFieldsConfiguration();
RequestDocumentTypeModel model = new RequestDocumentTypeModel()
{
Requester = CurrentUser.Login,
MetadataItems = metadata.Where(f => !f.IsSystemGenerated).Select(f => new RequestDocumentMetadataItem(f.DocumentModelPropertyName, f.DisplayName, false, f.Layer)).ToList()
};
Of course, I cannot use Immediate Window and LINQ because LINQ is not allowed. I am using Visual Studio 2010, but as far as I know, other versions have the same "problem".
source
share