cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sven_Rahn
Regular Visitor

PluginProfiler: InvalidOperationException

Hi!

 

When debugging a profiled plugin, internally a method of the Plugin Profiler is called: 

 

PluginProfiler.Plugins.ServiceWrappers.ProxyTypesWrapper.ConvertToEarlyBound(Entity)

 

The code looks like this:

 

 

foreach (KeyValuePair<Relationship, EntityCollection> relatedEntity in value.RelatedEntities)
{
  EntityCollection value3 = ConvertToEarlyBound(relatedEntity.Value);
  entity.RelatedEntities[relatedEntity.Key] = value3;
}

 


"value" seems to equal "entity".

I guess the error is thrown because the collection that is enumarated on is modified in the loop. Since this is the PluginProfiler.dll, I can't change the code. What can I do?

0 REPLIES 0

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (2,067)