Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. symbols not loaded

symbols not loaded

Scheduled Pinned Locked Moved WPF
csharpwpfdata-structuresdebugginglounge
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cmichaelgraham
    wrote on last edited by
    #1

    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 :)

    S A 2 Replies Last reply
    0
    • C cmichaelgraham

      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 :)

      S Offline
      S Offline
      SledgeHammer01
      wrote on last edited by
      #2

      When you do stuff inline like that, the debugger may not stop where you expect because the MSIL may be quite different ;).

      1 Reply Last reply
      0
      • C cmichaelgraham

        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 :)

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        Make sure 'Debug Silvelight' option in the web project properties is checked.

        The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups