symbols not loaded
-
breakpoint not hit --> symbols not loaded, but just for one line of code... VS2010, C#, Silverlight code behind (xxx.xaml.cs) here's the code:
List<EntityRec> EntityRecList = new List<EntityRec>
(
new EntityRec[]
{
new EntityRec()
{
Name = "Well List 1",
Entity = "Wellbore",
Count = 17,
Description = "This is a random list of wells that contains\r\nseveral unique formations and depths.",
IsPublic = false
},
...
);But if I create an array of EntityRec with a fixed size and explicitly assign the new EntityRec items, all break points are hit just fine... Weird... Cost me about 3 hours to figure that one out :)
-
breakpoint not hit --> symbols not loaded, but just for one line of code... VS2010, C#, Silverlight code behind (xxx.xaml.cs) here's the code:
List<EntityRec> EntityRecList = new List<EntityRec>
(
new EntityRec[]
{
new EntityRec()
{
Name = "Well List 1",
Entity = "Wellbore",
Count = 17,
Description = "This is a random list of wells that contains\r\nseveral unique formations and depths.",
IsPublic = false
},
...
);But if I create an array of EntityRec with a fixed size and explicitly assign the new EntityRec items, all break points are hit just fine... Weird... Cost me about 3 hours to figure that one out :)
When you do stuff inline like that, the debugger may not stop where you expect because the MSIL may be quite different ;).
-
breakpoint not hit --> symbols not loaded, but just for one line of code... VS2010, C#, Silverlight code behind (xxx.xaml.cs) here's the code:
List<EntityRec> EntityRecList = new List<EntityRec>
(
new EntityRec[]
{
new EntityRec()
{
Name = "Well List 1",
Entity = "Wellbore",
Count = 17,
Description = "This is a random list of wells that contains\r\nseveral unique formations and depths.",
IsPublic = false
},
...
);But if I create an array of EntityRec with a fixed size and explicitly assign the new EntityRec items, all break points are hit just fine... Weird... Cost me about 3 hours to figure that one out :)