Results 1 to 4 of 4

Thread: No symbols are loaded for any call stack frame. The source code cannot be displayed.

Threaded View

  1. #1

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Arrow No symbols are loaded for any call stack frame. The source code cannot be displayed.

    And it also raises the exception "Cross-thread operation not valid: Control 'explorerBar1' accessed from a thread other than the thread it was created on." although I am not calling the form which contains explorerBar1 so I am baffled.

    This is the last lines of the disassembly which I cannot figure out.
    000000ac mov edx,dword ptr [ebp-8]
    000000af call FF74DC7B
    000000b4 mov edx,eax
    000000b6 mov ecx,esi
    000000b8 call FF71A9AB
    000000bd mov ecx,esi
    000000bf call FF71E2E3
    000000c4 int 3
    The problem is raised when I quickly click on treeview items which shows the form associated with it via its tag property. This is the code which calls the form.
    CSharp Code:
    1. private void item_Click(object sender)
    2. {
    3.     Assembly asm = Assembly.LoadFrom(Assembly.GetExecutingAssembly().GetName().CodeBase);
    4.     Common.CommonFunctions.Busy(true);
    5.     if (e.Item.Tag != null)
    6.     {
    7.         string formName = string.Empty;
    8.         foreach (Form f in this.MdiChildren)
    9.         {
    10.             formName = f.Name;
    11.             if (formName == e.Item.Tag.ToString())
    12.             {
    13.                 f.Activate();
    14.                 this.Focus();
    15.                 return;
    16.             }
    17.             else
    18.                 f.close();
    19.         }
    20.  
    21.         Type formObject = asm.GetType("ApplicationLayer." + e.Item.Tag.ToString());
    22.         Object formActivator = Activator.CreateInstance(formObject);
    23.         Form frm = formActivator as Form;
    24.         frm.MdiParent = this;                
    25.         frm.Show();
    26.         this.Focus();
    27.     }
    28.     Common.CommonFunctions.Busy(false);
    29. }

    Could anyone help me out on looking for the cause of the error and fixing it?

    EDIT:
    After a few more testing it still shows the above disassemply I quoted, could anyone figure out what the message is?
    Last edited by dee-u; Jun 27th, 2009 at 01:48 PM.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width