I'm not sure if this is just me, but...
Has anybody noticed an annoying problem in VS .NET 2K5 where you switch from code view to the Form Designer, and your mouse pointer starts flickering and changing among a few mouse pointers (ex. cross, hourglass, pointer, etc.) This has happened to me a few times already and I havent' found any other common denominator other than the switch from Code View to Form Designer.
Thanks.
Gerard

Flicker and Crash problem in VS.NET 2005 Pro
bohan
[Native to Managed Transition]
Microsoft.VisualStudio.Shell.dll!Microsoft.VisualStudio.Shell.ServiceProvider.GetService(System.Guid guid, System.Type serviceType) + 0x145 bytes
Microsoft.VisualStudio.Shell.dll!Microsoft.VisualStudio.Shell.ServiceProvider.GetService(System.Type serviceType) + 0x3f bytes
Microsoft.VisualStudio.Shell.dll!Microsoft.VisualStudio.Shell.ServiceProviderHierarchy.GetService(System.Type serviceType = {Name = Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized. FullName = Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized.}) + 0x6d bytes
System.dll!System.ComponentModel.Design.ServiceContainer.GetService(System.Type serviceType) + 0x117 bytes
System.Design.dll!System.ComponentModel.Design.DesignerHost.GetService(System.Type service) + 0x35 bytes
System.Design.dll!System.ComponentModel.Design.DesignerHost.System.IServiceProvider.GetService(System.Type serviceType) + 0x5 bytes
System.dll!System.ComponentModel.Design.ServiceContainer.GetService(System.Type serviceType) + 0x117 bytes
System.Design.dll!System.ComponentModel.Design.SiteNestedContainer.GetService(System.Type serviceType) + 0x74 bytes
System.Design.dll!System.ComponentModel.Design.DesignerHost.Site.System.IServiceProvider.GetService(System.Type service) + 0x9c bytes
Microsoft.VisualStudio.Windows.Forms.dll!Microsoft.VisualStudio.Windows.Forms.MenuEditorService.CreateMenuEditor() + 0x47 bytes
Microsoft.VisualStudio.Windows.Forms.dll!Microsoft.VisualStudio.Windows.Forms.MenuEditorService.SetMenu(System.Windows.Forms.Menu menu = {System.Windows.Forms.MainMenu}) + 0x106 bytes
Microsoft.VisualStudio.Windows.Forms.dll!Microsoft.VisualStudio.Windows.Forms.MenuEditorService.OnComponentRemoved(object source, System.ComponentModel.Design.ComponentEventArgs ce) + 0x43 bytes
[Native to Managed Transition]
[Managed to Native Transition]
> System.Design.dll!System.ComponentModel.Design.DesignerHost.RemoveFromContainerPostProcess(System.ComponentModel.IComponent component = {System.Windows.Forms.MenuItem}, System.ComponentModel.IContainer container) + 0x70 bytes
System.Design.dll!System.ComponentModel.Design.DesignerHost.Remove(System.ComponentModel.IComponent component) + 0x42 bytes
System.Windows.Forms.dll!System.Windows.Forms.Menu.Dispose(bool disposing = true) + 0x70 bytes
System.dll!System.ComponentModel.Component.Dispose() + 0xf bytes
System.Design.dll!System.ComponentModel.Design.DesignerHost.Unload() + 0x23d bytes
System.Design.dll!System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.Serialization.IDesignerLoaderHost.Reload() + 0x141 bytes
System.Design.dll!System.ComponentModel.Design.Serialization.BasicDesignerLoader.OnIdle(object sender, System.EventArgs e) + 0x168 bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(int grfidlef) + 0x39 bytes
System.Windows.Forms.dll!System.Windows.Forms.ComponentManagerProxy.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(int grfidlef = -2) + 0x8b bytes
[Native to Managed Transition]
When doubleclcick
No symbols are loaded for any call stack frame. The source code cannot be displayed.
Show Disassembly
00000000 push ebp
00000001 mov ebp,esp
00000003 push edi
00000004 push esi
00000005 push ebx
00000006 sub esp,1Ch
00000009 xor eax,eax
0000000b mov dword ptr [ebp-18h],eax
0000000e mov dword ptr [ebp-24h],edx
00000011 mov ebx,ecx
00000013 mov eax,dword ptr [ebp-24h]
00000016 mov dword ptr [ebp-28h],eax
00000019 mov esi,dword ptr [ebx+34h]
0000001c mov ecx,dword ptr ds:[66292330h]
00000022 mov edx,542h
00000027 call 13C96F90
0000002c mov edx,dword ptr [eax+000007BCh]
00000032 mov ecx,esi
00000034 cmp dword ptr [ecx],ecx
00000036 call 142C9DF8
0000003b mov edx,eax
0000003d mov ecx,7A7457E4h
00000042 call 13CAD68A
00000047 mov edi,eax
00000049 mov ecx,7A74CF9Ch
0000004e call 13C96F58
00000053 mov esi,eax
00000055 mov edx,dword ptr [ebp-28h]
00000058 mov ecx,esi
0000005a call 14313DA8
0000005f test edi,edi
00000061 je 00000070
00000063 push esi
00000064 mov edx,ebx
00000066 mov ecx,edi
00000068 mov eax,dword ptr [ecx+0Ch]
0000006b mov ecx,dword ptr [ecx+4]
0000006e call eax
00000070 mov dword ptr [ebp-1Ch],0
00000077 mov dword ptr [ebp-18h],0FCh
0000007e push 661DCBD5h
00000083 jmp 00000085
00000085 mov ecx,dword ptr [ebp-24h]
00000088 xor edx,edx
0000008a call dword ptr ds:[663F283Ch]
00000090 pop eax
00000091 jmp eax
00000093 lea esp,[ebp-0Ch]
00000096 pop ebx
00000097 pop esi
00000098 pop edi
00000099 pop ebp
0000009a ret 4
0000009d mov dword ptr [ebp-18h],0
000000a4 jmp 00000093
nima_API
elfw
Vincent Mahon
Christina
ActivityDeveloper
1) Start another instance of VS
2) Attach it to your existing instance (Tools >> Attach To Process >> Devenv.exe)
3) Do the switch to cause this to happen
4) Hit "break" on the debugger instance
5) Paste in the call stack here
If it's actually crashing, wait until that happens, then the debugger will break and then that's the call stack to past in.
Thanks
windthorstking
jwong008