Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Remote server: Sluggish vstudio when using remote servers.
GreenMoose
#1 Posted : Tuesday, May 13, 2014 9:49:15 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
v2.7.0.5 / vstudio2012

I have 3 nodes set up, 2 on Azure VM and 1 on local subnet. I experience a lot of lag in vstudio (studio using 1.5GB ram, i.e. not that much) if I use sliding build delay to 500ms. (to the extent it becomes unusable).

If I disable the grid nodes it immediately becomes snappier again.

If I set sliding build delay to 3s it is improved a lot, but as soon as it starts the "processing" tasks vstudio becomes laggy again and is responsive when "processing" is aborted.

Is this a known performance issue? Can I do something to prevent it? Buy more RAM? (I have 2x4 cpu cores and 16GB of RAM, of which ~1.4GB is on standby according to resource monitor so it does not really feel like a memory issue?).

(I have pagefile/OS on ssd drive 1 and solution files and ncrunch workspace base path on ssd drive 2 )

Thanks.


*Edit: Hrm I just noticed I had local disabled so when only trying with local it is sometime quite sluggish as well in above scenarios, but it it is a lot more apparent when enabling remote servers.
GreenMoose
#2 Posted : Tuesday, May 13, 2014 10:34:32 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
Follow-up, I enabled remote servers and went for lunch. Came back 20 minutes later and devenv.exe is eating cpu and is totally unresponsive.

Main thread is consuming the most cpu according to process explorer (cycles delta > 8 000 000 000).

I attaching another devstudio (/safemode) and when I pause I always end up in a callstack related to ncrunch grid node, like below. It seems they are stuck in an infinite loop somewhere because I am not editing code and the entire test suite should not take more than a couple of minutes at most.

Quote:

> System.dll!System.Net.Sockets.Socket.Receive(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, out System.Net.Sockets.SocketError errorCode) + 0xbd bytes
System.dll!System.Net.Sockets.Socket.Receive(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags) + 0x1d bytes
System.dll!System.Net.Sockets.NetworkStream.Read(byte[] buffer, int offset, int size) + 0x83 bytes
nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.DecryptorStream.Read(byte[] buffer, int offset, int count) + 0x423 bytes
nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.BidirectionalStream.Read(byte[] buffer, int offset, int count) + 0x28 bytes
nCrunch.Core.dll!#=qD4zNNsxOx37c6mqipEeQCTGtZWWgJYkO3xnEpM91KGEY7JCHPvohIBguySZy6TGMMaT4v_Zp0Kw2KdNppp2EHw==.Read(byte[] #=qH4FkXQxKE4Rt8VwpKATPcg==, int #=qWJA4f52o73uaSC2btd__vQ==, int #=qnOgZujc9H7uAhRB3vfTWwg==) + 0x155 bytes
nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Read(byte[] buffer, int offset, int count) + 0x39 bytes
nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.BidirectionalStream.Read(byte[] buffer, int offset, int count) + 0x28 bytes
mscorlib.dll!System.IO.Stream.BeginReadInternal.AnonymousMethod__a(object param0) + 0x3c bytes
mscorlib.dll!System.Threading.Tasks.Task<int>.InnerInvoke() + 0x49 bytes
mscorlib.dll!System.Threading.Tasks.Task.Execute() + 0x2e bytes
mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) + 0x15 bytes
mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes
mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) + 0xcb bytes
mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) + 0xb3 bytes
mscorlib.dll!System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() + 0x7 bytes
mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() + 0x149 bytes
mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() + 0x5 bytes



Then switching to main thread I get no NCrunch or Jetbrains (another culprit for sluggishness) dlls, but instead as below. Any clues what going on? (I had to kill devstudio process to get back to work).
GreenMoose
#3 Posted : Tuesday, May 13, 2014 10:35:33 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
...(continuing above post)
Quote:

[Managed to Native Transition]
> Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
GreenMoose
#4 Posted : Tuesday, May 13, 2014 10:38:49 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
...(continuing above post)
Quote:

Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfOwner(System.IntPtr hwndOwner) + 0x79 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0x110 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0xcf bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.UpdateZOrderOfThisAndOwner() + 0xcf bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.WmWindowPosChanged(System.IntPtr hWnd, System.IntPtr lParam) + 0xdc bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.CustomChromeWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x90 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FloatingWindow.HwndSourceHook(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x19d bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x68 bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes

Remco
#5 Posted : Tuesday, May 13, 2014 11:42:50 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Thanks for sharing this. There are a few possibilities that jump into my head on reading this, and I'm wondering if you might be able to help me narrow them down so that I know where to optimise:

1. I've just checked the network handling for the grid processing, and it looks as though this is being done on thread pool threads. While not normally a bad thing, NCrunch doesn't lock these threads to specific CPU cores in the way that it does with other background processors. It's possible that this is causing CPU resources to be shared between both the UI thread and the network handling, which isn't ideal and it might make the UI less responsive if the CPU gets very heavily loaded. I think the best way to check for this is to watch the load on your individual CPU cores while VS becomes unresponsive. Is there a pattern to which CPU cores are being hit the hardest? Do you notice the 'reserved' CPU cores (that are assigned to VS) working more than they should be?

2. The second possibility relates to garbage collection. The CLR's garbage collector regularly performs compaction operations that can cause the CLR to temporarily suspend all executing threads. Normally this isn't a big deal, as the compactions don't run often and they don't run for long .. although when memory traffic gets particularly high, this can really inhibit the UI thread and make the IDE perform terribly. Heavy processing using the grid does create quite a bit of extra memory traffic, so there's the likelihood that an already overloaded IDE could run very poorly when communicating with many grid nodes. The best way to identify whether this is an issue is watch CPU consumption when the IDE starts getting sluggish, and to try using perfmon with a CLR garbage collector monitoring instrument to see if the CLR is spending much time in garbage collection.

The only place where the grid processing will touch the UI is in the Distributed Processing Window. If this window is closed, the grid work will never touch the UI thread. This means your usage of a grid can only impact UI performance indirectly.

The only communication that should happen with idle grid nodes is just a regular ping/pong every few seconds, resulting in minimal network usage. There will, however, still be threads blocked for each open socket. This means you're likely to see a thread stuck in the 'Read' state for every node whenever you break into the VS process.

If you don't mind me asking, how many processing tasks do you have for each of your grid nodes? When you have many tasks in the queue, this will make a difference in resource consumption.
GreenMoose
#6 Posted : Monday, June 9, 2014 6:42:47 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
To follow up on this I made the following observations in line what you suspected:
1) Today I came back to computer and the remote Azure servers were shut down and noticed vstudio was verry laggy. It was "freezing" now and then with seconds interval and the assigned cpu cores for devstudio were spiking. I closed Distributed Processing Window and problem/cpu spikes went away.
2) When OS start to run out physical memory/RAM performance starts to crawl (I've ordered a RAM upgrade from 16 => 32).
Remco
#7 Posted : Monday, June 9, 2014 6:46:55 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Did you notice any activity using perfmon to check the garbage collections? The distributed processing window doesn't do much on the UI thread, but it may well contribute to overall memory traffic.
GreenMoose
#8 Posted : Monday, June 9, 2014 7:04:47 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
Interestingly enough, I enabled distributed window again and started the Azure VMs to see the task count to answer your task question when I noticed your reply. At the same time when I was starting the VMs devenv became completely unresponsive so I fired up perfmon and noticed % Time in GC was practically all the time in 5-10% range going up/down. After a while devenv.exe crashed with the below entry in event viewer. (at the time of crash physical RAM usage was 13/16GB and dropped to 10.6GB after crash).

Event viewer entry:

Code:


Faulting application name: devenv.exe, version: 11.0.60610.1, time stamp: 0x51b52140
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x53159a86
Exception code: 0xe0434352
Fault offset: 0x0000c42d
Faulting process id: 0x212c
Faulting application start time: 0x01cf7fe120550880
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: f508ff90-efa2-11e3-89a6-082e5f01585a
----
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OutOfMemoryException
Stack:
   at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32, System.String)
   at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32, UInt32, System.Threading.NativeOverlapped*)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)


And btw,
Quote:
If you don't mind me asking, how many processing tasks do you have for each of your grid nodes? When you have many tasks in the queue, this will make a difference in resource consumption.


Azure VMs:
* 2 cpu cores / 3.5GB RAM with ramdisk for ncrunch snapshots and sql server db/log on hdd, 3 tasks
* 2 cpu cores / 3.5GB RAM with ramdisk for ncrunch snapshots and sql server db/log on hdd, 3 tasks
* 4 cpu cores / 7.5GB RAM with ramdisk for ncrunch snapshots and sql server db/log on RAMdisk, 5 tasks

LAN VMs:
* 6 cpu cores / 4GB RAM, 3 tasks
Remco
#9 Posted : Monday, June 9, 2014 7:15:59 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
5-10% might seem extreme, but this is not usually high enough to cause responsiveness problems like what you've been describing.

I think there's a good chance this is related to memory consumption - probably the O/S is paging heavily and the extra I/O from this is interfering with normal operation of the IDE.

It'll be interesting to see if the extra RAM you're purchasing makes any difference in this. How much memory do you see devenv.exe normally using when you're working at full speed?

A total of 14 execution tasks across 4 servers shouldn't normally tax the engine - I'd expect it to reach a much higher capacity before you notice any kind of performance hit from the grid orchestration.
GreenMoose
#10 Posted : Monday, June 9, 2014 7:37:31 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
Remco;5982 wrote:
I think there's a good chance this is related to memory consumption - probably the O/S is paging heavily and the extra I/O from this is interfering with normal operation of the IDE.

But it feels kindof weird since I had several GBs available :/ Or is it due to the fact that devenv.exe is 32-bit so it can't utilize all available memory?

And why would the problem be going away when closing distributed processing window if it was not related to that?

Remco;5982 wrote:

It'll be interesting to see if the extra RAM you're purchasing makes any difference in this. How much memory do you see devenv.exe normally using when you're working at full speed?

normally 1.5-2GB, over 2GB it starts to perform so badly so then I usually restart it.

(*Edit: When starting devenv with ReSharper suspended it is at 1GB, enabling ReSharper it bumps up to ~1.4GB.)
Remco
#11 Posted : Monday, June 9, 2014 7:48:04 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
How certain are you that the Distributed Processing Window is triggering the problem? Do you notice a clear pattern of the devenv CPU cores spiking whenever it's opened, then dropping whenever it's closed?

Does removing any of the registered servers make any difference?
GreenMoose
#12 Posted : Monday, June 9, 2014 8:08:40 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
Remco;5984 wrote:
How certain are you that the Distributed Processing Window is triggering the problem? Do you notice a clear pattern of the devenv CPU cores spiking whenever it's opened, then dropping whenever it's closed?

I suspended RS to rule that out, the behavior when window was besides spiking cpu cores sluggish devenv as follows:
I repro'ed it by simply clicking with mouse at 2 places in the document, initially I could maybe do 2 clicks before vstudio froze for a couple of seconds, then I clicked again maybe 2 clicks before it froze yet again. When closing window I could click as normal. Displaying window, isue was back again.

Remco;5984 wrote:
Does removing any of the registered servers make any difference?

I don't know, for whatever reason I cannot reproduce it any longer (current RAM usage is ~12.8GB) after the devenv crash. I can check next time I notice it.
Remco
#13 Posted : Monday, June 9, 2014 9:03:53 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Thanks - I'll review the code around this window to see if I can spot anything that might cause poor performance. Let me know if you manage to get it happening again. I'd like to see if we can narrow it down further, perhaps to the content/activities inside the window when it occurs.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.387 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download