I'm debugging an application and in some moment, I have a list with amount of items, which prevent me watch each element step by step. I wanted to check what value is inside property Layer of element with PropertyName = "XXX". Is there any simple way to do that?
Outer piece of 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()
};
// BREAKPOINT HERE
// # MORE CODE #
Of course I can't use Immediate Window and LINQ, because LINQ isn't allowed. I'm using Visual Studio 2010, but as far as I know, other versions have the same "problem".