Error settings breakpoints but only on some lines while debugging
问题 This line is causing the "key not found" in the PostEntityImages collection. Entity pimage = _context.PostEntityImages["postcreate"]; When I put a break point on that line and put it in the watch window it works fine and that key is present. UPDATE: protected override void ExecutePlugin() { try { Entity pimage = null; if (_context.PostEntityImages.ContainsKey("postcreate")) pimage = _context.PostEntityImages["postcreate"]; } catch (Exception) { // Never hits this line throw; } } // When