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

Notification

Icon
Error

"go to selected test" extreamly slow when open a test file the first time
yanglee
#1 Posted : Wednesday, April 24, 2013 8:21:30 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/25/2012(UTC)
Posts: 89
Location: China

Thanks: 23 times
Was thanked: 19 time(s) in 18 post(s)
Hi,

I noticed this since about 2 weeks ago.

When a solution is just started, everything is OK. But after I worked on the solution for about 30~90 minutes, I begin experience the following issue:

1. In the NCrunch Tests window, double click a test to open a test file.
2. The UI will freeze for about 2 minutes.
3. Double click any other tests, the test files will be opened immediately.
4. Close all opened test files.
5. Repeat step 1, the UI will freeze another 2 minutes.

Restarting the solution fix the issue for another 30~90minutes.

I tried to reproduce this in a new project, but no success. I'm experiencing this issue with all my major solutions (they share a common library).

I tried to uninstall NCrunch, run devenv.exe /setup, then reinstall NCrunch, but no success.

NCrunch 1.45.0.12
Visual Studio 2012 with Update 2
Windows 8 64bit

Regards,
Yang
Remco
#2 Posted : Thursday, April 25, 2013 12:05:49 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi Yang,

Do you notice any patterns around memory utilisation or NCrunch when this happens? I.e. do you have a full test pipeline at the time?

Are you making use of any source files that exist on shared network resources? i.e. mapped network drives?

Does attempting to open a new source file using project explorer also create the same behaviour when this has started happening?

I'm wondering if it might be a possible to obtain a dump of the executing threads within VS when the pause locks in. Would it be possible for you to try the following steps?

1. Wait until the problem starts appearing
2. Load up a second instance of Visual Studio
3. Attach the debugger from the second instance of VS onto the first (bugging) instance of VS
4. Break into the process using the debugger
5. Open up the list of threads
6. Copy/paste the output of running threads here into the forum

.. This will help with identifying where the UI thread is being locked, and who is locking it!


Cheers,

Remco
yanglee
#3 Posted : Thursday, April 25, 2013 4:51:37 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/25/2012(UTC)
Posts: 89
Location: China

Thanks: 23 times
Was thanked: 19 time(s) in 18 post(s)
Remco;4057 wrote:
Do you notice any patterns around memory utilisation or NCrunch when this happens?

Memory utilization seems to be normal (NCrunch < 100 MB, devenv.exe < 1000MB).

When the issue happens, NCrunch's CPU usage is < 1%, while devenv.exe ~ 25% (4 core CPU).

Quote:
I.e. do you have a full test pipeline at the time?

Nope, most of the time I don't have any pending tests when the issue happens.

Quote:
Are you making use of any source files that exist on shared network resources? i.e. mapped network drives?

No, I don't have any shared network resources / mapped network drives on this machine. All source code resides on SSD.

Quote:
Does attempting to open a new source file using project explorer also create the same behaviour when this has started happening?

No problem with Project Explorer.

Quote:
I'm wondering if it might be a possible to obtain a dump of the executing threads within VS when the pause locks in. Would it be possible for you to try the following steps?

1. Wait until the problem starts appearing
2. Load up a second instance of Visual Studio
3. Attach the debugger from the second instance of VS onto the first (bugging) instance of VS
4. Break into the process using the debugger
5. Open up the list of threads
6. Copy/paste the output of running threads here into the forum

.. This will help with identifying where the UI thread is being locked, and who is locking it!


Here is the list of threads:

Code:
Not Flagged		8136	2	Worker Thread	GC Finalizer Thread	[Managed to Native Transition]	Highest
Not Flagged		5044	1	Main Thread	Main Thread	System.Array.Copy()	Normal
Not Flagged		9048	0	Worker Thread	<No Name>		Normal
Not Flagged		8892	4	Worker Thread	Stylus Input	[Managed to Native Transition]	Normal
Not Flagged		9156	5	Worker Thread	Pool Thread #0	System.Threading.WaitHandle.InternalWaitOne()	Normal
Not Flagged		3344	6	Worker Thread	Pool Thread #1	System.Threading.WaitHandle.InternalWaitOne()	Normal
Not Flagged		7368	0	Worker Thread	<No Name>		Normal
Not Flagged		1460	10	Worker Thread	Pool Thread #0	System.Threading.WaitHandle.InternalWaitOne()	Normal
Not Flagged		9116	11	Worker Thread	Pool Thread #1	System.Threading.WaitHandle.InternalWaitOne()	Normal
Not Flagged		8812	12	Worker Thread	LicenseCheck	[Managed to Native Transition]	Normal
Not Flagged		4356	14	Worker Thread	LAAFix	System.Threading.Thread.Suspend()	Normal
Not Flagged		3148	18	Worker Thread	StatusBar	[Managed to Native Transition]	Normal
Not Flagged		5348	32	Worker Thread	<No Name>		Normal
Not Flagged		3852	21	Worker Thread	In-proc Node (Default)	System.Threading.WaitHandle.WaitAny()	Normal
Not Flagged		6444	0	Worker Thread	<No Name>		Normal
Not Flagged		6804	33	Worker Thread	FileSystemTrackerCommit	[Managed to Native Transition]	Below Normal
Not Flagged		9192	34	Worker Thread	SettingsChangeDispatch	[Managed to Native Transition]	Normal
Not Flagged		5244	35	Worker Thread	<No Name>	System.Threading.WaitHandle.InternalWaitOne()	Normal
Not Flagged		4880	36	Worker Thread	FileSystemTrackerCommit	[Managed to Native Transition]	Below Normal
Not Flagged		6448	37	Worker Thread	SettingsChangeDispatch	[Managed to Native Transition]	Normal
Not Flagged		8852	23	Worker Thread	ApplicationMutices	[Managed to Native Transition]	Normal
Not Flagged		3884	19	Worker Thread	PeriodicallyCommitTransactionExecuter	[Managed to Native Transition]	Normal
Not Flagged		444	41	Worker Thread	CacheUpdate	System.Threading.Monitor.Wait()	Normal
Not Flagged		5380	42	Worker Thread	DaemonFibers #0	System.Threading.Monitor.Wait()	Normal
Not Flagged		1732	43	Worker Thread	DaemonFibers #1	System.Threading.Monitor.Wait()	Normal
Not Flagged		7312	44	Worker Thread	DaemonFibers #2	System.Threading.Monitor.Wait()	Normal
Not Flagged		2984	45	Worker Thread	DaemonFibers #3	System.Threading.Monitor.Wait()	Normal
Not Flagged		5328	46	Worker Thread	DaemonProcessFibers #0	System.Threading.Monitor.Wait()	Normal
Not Flagged		8120	47	Worker Thread	DaemonProcessFibers #1	System.Threading.Monitor.Wait()	Normal
Not Flagged		4504	48	Worker Thread	DaemonProcessFibers #2	System.Threading.Monitor.Wait()	Normal
Not Flagged		5776	49	Worker Thread	DaemonProcessFibers #3	System.Threading.Monitor.Wait()	Normal
Not Flagged		9104	50	Worker Thread	Daemon	System.Threading.WaitHandle.InternalWaitOne()	Normal
Not Flagged		1120	52	Worker Thread	SolutionAnalysis.UpdatingDependencyToFilesMap	System.Threading.WaitHandle.InternalWaitOne()	Normal
Not Flagged		7856	53	Worker Thread	XML Indexing	System.Threading.WaitHandle.InternalWaitOne()	Below Normal
Not Flagged		8100	51	Worker Thread	Pdb cache thread	System.Threading.WaitHandle.InternalWaitOne()	Below Normal
Not Flagged		5400	54	Worker Thread	Unit Test Project Explorer	System.Threading.WaitHandle.InternalWaitOne()	Normal
Not Flagged		5744	59	Worker Thread	Pool Thread #2	System.Threading.WaitHandle.InternalWaitOne()	Normal
Not Flagged		3692	39	Worker Thread	Pool Thread #3	System.Threading.WaitHandle.InternalWaitOne()	Normal
Not Flagged		2116	56	Worker Thread	<No Name>	[Managed to Native Transition]	Normal
Not Flagged		4364	57	Worker Thread	<No Name>	[Managed to Native Transition]	Normal
Not Flagged		8900	55	Worker Thread	<No Name>	[Managed to Native Transition]	Normal
Not Flagged		8088	77	Worker Thread	<No Name>	System.Threading.WaitHandle.InternalWaitOne()	Normal
Not Flagged		5288	62	Worker Thread	Stylus Input	[Managed to Native Transition]	Normal
Not Flagged	>	7800	104	Worker Thread	Pool Thread #4	System.Threading.WaitHandle.InternalWaitOne()	Normal
Not Flagged		7808	16	Worker Thread	<No Name>		Normal
Not Flagged		6624	99	Worker Thread	<No Name>		Normal
Not Flagged		7752	15	Worker Thread	<No Name>		Normal
Not Flagged		5052	72	Worker Thread	<No Name>		Normal
Not Flagged		7584	0	Worker Thread	<No Name>		Normal
Not Flagged		5292	108	Worker Thread	<No Name>		Normal
Not Flagged		6540	101	Worker Thread	<No Name>		Normal
Not Flagged		8352	0	Worker Thread	<No Name>		Normal
Not Flagged		828	85	Worker Thread	<No Name>		Normal


Stack trace:

Code:
>	mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) + 0x22 bytes	
 	mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext) + 0x28 bytes	
 	mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0x10 bytes	
 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread.ThreadProc() + 0x29 bytes	
 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.Logger.Catch(System.Action action) + 0x20 bytes	
 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread..ctor.AnonymousMethod__1() + 0x35 bytes	
 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f 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.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	
 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	
 	[Native to Managed Transition]	


Cheers
Yang
Remco
#4 Posted : Thursday, April 25, 2013 6:26:27 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Thanks Yang, that helps a lot! This line catches my attention:

Not Flagged 5044 1 Main Thread Main Thread System.Array.Copy() Normal

This would be the direct cause of the problem. The next time this happens, is there any chance you could grab a stack trace for this specific thread? If we can see what is causing the copying of what is probably a very large array, we'll be able to narrow this right down.
yanglee
#5 Posted : Thursday, April 25, 2013 11:48:41 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/25/2012(UTC)
Posts: 89
Location: China

Thanks: 23 times
Was thanked: 19 time(s) in 18 post(s)
Sorry for my late replay. I tried multiple times to capture the stack trace of the main thread when the issue happens. But didn't catch the System.Array.Copy() again.

Today the symptom is not as bad as before, but still takes 30+ seconds to open a test file when issue happens.

Capture 1:

Code:
Not Flagged	>	5880	1	Main Thread	Main Thread	System.IO.Path.CheckInvalidPathChars()	Normal
    mscorlib.dll!System.IO.Path.CheckInvalidPathChars(string path, bool checkAdditional) + 0x88 bytes	 
    mscorlib.dll!System.IO.Path.NormalizePath(string path, bool fullCheck, int maxPathLength) + 0x94 bytes	 
    mscorlib.dll!System.IO.Path.GetFullPathInternal(string path) + 0x2f bytes	 
    mscorlib.dll!System.IO.Path.GetFullPath(string path) + 0x22 bytes	 
    Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.FileChangeService.ValidateAndNormalize(string path, string paramName) + 0x18 bytes	 
    Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.FileChangeService.AdviseFileChange(string filename, Microsoft.VisualStudio.Shell.Interop._VSFILECHANGEFLAGS filter, Microsoft.VisualStudio.Shell.Interop.IVsFileChangeEvents sink) + 0x37 bytes	 
    Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.FileChangeService.Microsoft.VisualStudio.Shell.Interop.IVsFileChangeEx.AdviseFileChange.AnonymousMethod__2() + 0x1a bytes	 
    Microsoft.VisualStudio.Shell.11.0.dll!Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention.AnonymousMethod__0() + 0xb bytes	 
    Microsoft.VisualStudio.Shell.11.0.dll!Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(System.Func<int> method, bool reportError, bool setShellErrorInfo) + 0x34 bytes	 
    Microsoft.VisualStudio.Shell.11.0.dll!Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(System.Action method, bool reportError) + 0x55 bytes	 
    Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.FileChangeService.Microsoft.VisualStudio.Shell.Interop.IVsFileChangeEx.AdviseFileChange(string file, uint filter, Microsoft.VisualStudio.Shell.Interop.IVsFileChangeEvents sink, out uint cookie) + 0x9c bytes	 
    JetBrains.Platform.dotTrace.VisualStudio.Core.dll!JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.Init_ReadOnlyBuffer.AnonymousMethod__14() + 0x8b bytes	 
    JetBrains.Platform.dotTrace.Util.dll!JetBrains.DataFlow.Lifetime.AddBracket(System.Action FOpening, System.Action FClosing) + 0x51 bytes	 
    JetBrains.Platform.dotTrace.Util.dll!JetBrains.DataFlow.ObsoleteLifetimeAndDefinitionAtTheSameTime.AddBracket(System.Action opening, System.Action closing) + 0xe bytes	 
    JetBrains.Platform.dotTrace.VisualStudio.Core.dll!JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.Init_ReadOnlyBuffer(JetBrains.VsIntegration.Interop.Shim.TextManager.IVsTextBuffer vsTextStream, Microsoft.VisualStudio.Shell.Interop.IVsFileChangeEx vsFileChangeEx) + 0x21d bytes	 
    JetBrains.Platform.dotTrace.VisualStudio.Core.dll!JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.VsDocumentOperationsHandlerWhidbey(JetBrains.VsIntegration.Interop.Shim.TextManager.IVsTextBuffer vsTextStream, JetBrains.Application.IShellLocks locks, Microsoft.VisualStudio.Shell.Interop.IVsFileChangeEx vsFileChangeEx, JetBrains.VsIntegration.DocumentModel.VsDocumentManagerSynchronization vsDocumentManagerSynchronization, JetBrains.VsIntegration.Application.VsCommandProcessor vsCommandProcessor, JetBrains.Application.FileSystemTracker.IFileSystemTracker fileSystemTracker, JetBrains.DocumentManagers.DocumentToProjectFileMappingStorage documentToProjectFileMappingStorage) + 0x260 bytes	 
    JetBrains.Platform.dotTrace.VisualStudio.Core.dll!JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey.AttachToVsTextBuffer(JetBrains.VsIntegration.Interop.Shim.TextManager.IVsTextBuffer textStream, bool isCreatingDocument, Microsoft.VisualStudio.Shell.Interop.IVsFileChangeEx vsFileChangeEx, JetBrains.VsIntegration.DocumentModel.VsDocumentManagerSynchronization vsDocumentManagerSynchronization, JetBrains.DocumentManagers.DocumentToProjectFileMappingStorage documentToProjectFileMappingStorage, JetBrains.VsIntegration.Application.VsCommandProcessor vsCommandProcessor, JetBrains.Application.FileSystemTracker.IFileSystemTracker fileSystemTracker) + 0x15e bytes	 
    JetBrains.Platform.dotTrace.VisualStudio.Core.dll!JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentOverProjectFileFactoryWhidbey.CreateNewDocumentCore(JetBrains.ProjectModel.IProjectFile projectFile, JetBrains.DocumentManagers.Transactions.SolutionDocumentTransactionManager documentTransactionManager) + 0x342 bytes	 
    JetBrains.Platform.dotTrace.DocumentManager.dll!JetBrains.DocumentManagers.impl.StandaloneDocumentOverProjectFileFactory.JetBrains.DocumentManagers.IDocumentOverProjectFileFactory_TransactionManager.CreateNewDocument_TransactionManager(JetBrains.ProjectModel.IProjectFile projectFile, JetBrains.DocumentManagers.Transactions.SolutionDocumentTransactionManager documentTransactionManager) + 0xe bytes	 
    JetBrains.Platform.dotTrace.DocumentManager.dll!JetBrains.DocumentManagers.Transactions.SolutionDocumentTransactionManager.JetBrains.DocumentManagers.IDocumentOverProjectFileFactory.CreateNewDocument(JetBrains.ProjectModel.IProjectFile projectFile) + 0xf bytes	 
    JetBrains.Platform.dotTrace.DocumentManager.dll!JetBrains.DocumentManagers.DocumentsOnProjectFiles.GetOrCreateDocument_Create(JetBrains.ProjectModel.IProjectFile profile, JetBrains.DocumentManagers.IDocumentOverProjectFileFactory myFactory) + 0x2b bytes	 
    JetBrains.Platform.dotTrace.DocumentManager.dll!JetBrains.DocumentManagers.DocumentsOnProjectFiles.GetOrCreateDocument(JetBrains.ProjectModel.IProjectFile profile, JetBrains.DocumentManagers.IDocumentOverProjectFileFactory factory) + 0x9d bytes	 
    JetBrains.Platform.dotTrace.VisualStudio.Core.dll!JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.OnRegisterTextBuffer(JetBrains.VsIntegration.Whidbey.DocumentModel.VsTextBufferData textBufferData) + 0x5c4 bytes	 
    JetBrains.Platform.dotTrace.VisualStudio.Core.dll!JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.OnRdtAfterFirstDocumentLock.AnonymousMethod__20() + 0x92 bytes	 
    JetBrains.Platform.dotTrace.Shell.dll!JetBrains.Application.IShellLocksEx.ExecuteWithReadLock(JetBrains.Application.IShellLocks th?s, System.Action F) + 0x2e bytes	 
    JetBrains.Platform.dotTrace.VisualStudio.Core.dll!JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.OnRdtAfterFirstDocumentLock.AnonymousMethod__1f() + 0x54 bytes	 
    JetBrains.Platform.dotTrace.Util.dll!JetBrains.Util.LogCookie.Execute(string comment, System.Action F) + 0x88 bytes	 
    JetBrains.Platform.dotTrace.VisualStudio.Core.dll!JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.OnRdtAfterFirstDocumentLock.AnonymousMethod__1e() + 0x81 bytes	 
    JetBrains.Platform.dotTrace.Util.dll!JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge.AnonymousMethod__0() + 0x21 bytes	 
    JetBrains.Platform.dotTrace.Util.dll!JetBrains.Threading.ReentrancyGuard.Execute(string name, System.Action action) + 0x6f bytes	 
    JetBrains.Platform.dotTrace.Util.dll!JetBrains.Threading.ReentrancyGuard.TryExecute(string name, System.Action action) + 0x11f bytes	 
    JetBrains.Platform.dotTrace.Util.dll!JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(JetBrains.Threading.ReentrancyGuard th?s, JetBrains.DataFlow.Lifetime lifetime, string name, System.Action F) + 0x26 bytes	 
    JetBrains.Platform.dotTrace.Util.dll!JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(JetBrains.DataFlow.Lifetime lifetimeQueue, string name, System.Action F) + 0x10d bytes	 
    JetBrains.Platform.dotTrace.VisualStudio.Core.dll!JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.OnRdtAfterFirstDocumentLock(JetBrains.DataFlow.EventArgs<JetBrains.VsIntegration.Interop.Declarations.VsShell.VSCOOKIE> args) + 0xb3 bytes	 
    JetBrains.Platform.dotTrace.Util.dll!JetBrains.DataFlow.Signal<JetBrains.DataFlow.EventArgs<JetBrains.VsIntegration.Interop.Declarations.VsShell.VSCOOKIE>>.NotifySinks(JetBrains.DataFlow.EventArgs<JetBrains.VsIntegration.Interop.Declarations.VsShell.VSCOOKIE> payload) + 0x48 bytes	 
    JetBrains.Platform.dotTrace.Util.dll!JetBrains.DataFlow.Signal<JetBrains.DataFlow.EventArgs<JetBrains.VsIntegration.Interop.Declarations.VsShell.VSCOOKIE>>.Fire(JetBrains.DataFlow.EventArgs<JetBrains.VsIntegration.Interop.Declarations.VsShell.VSCOOKIE> value, object cookie) + 0xb9 bytes	 
    JetBrains.Platform.dotTrace.Util.dll!JetBrains.DataFlow.Signal<System.__Canon>.Fire(System.__Canon value) + 0x7 bytes	 
    JetBrains.Platform.dotTrace.VisualStudio.Core.dll!JetBrains.VsIntegration.Interop.Events.VsRunningDocumentTableEvents.Sink.Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnAfterFirstDocumentLock(uint docCookie, uint dwRDTLockType1, uint dwReadLocksRemaining, uint dwEditLocksRemaining) + 0x74 bytes	 
    [Native to Managed Transition]	 
    [Managed to Native Transition]	 
    Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.Rdt.FindOrRegisterAndLockDocument(Microsoft.VisualStudio.Platform.WindowManagement.RdtFlags flags, string moniker, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hier, uint itemID, System.IntPtr punkDocData, out Microsoft.VisualStudio.Platform.WindowManagement.RdtLock rdtLock) + 0x80 bytes	 
    Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.RegisterAndLockDocData(string lpstrMkDoc, Microsoft.VisualStudio.Platform.WindowManagement.RdtFlags rdtLockType, object docData) + 0xd3 bytes	 
    Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.DocumentSite.set(Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite value) + 0xab bytes	 
    Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(string pszName, int fDockViewOn, int fDocument, string lpstrMkDoc, uint eCreateWindowFlags, uint dwToolWinId, object punkView, object punkData, Microsoft.VisualStudio.OLE.Interop.IServiceProvider pServiceProvider, Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy pUIHierarchy, uint vsid, out int pfDefaultPosition, ref System.Guid rguidCmdUI, out Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ppWindowFrame) + 0x48b bytes	 
    [Native to Managed Transition]	 
    [Managed to Native Transition]	 
    nCrunch.VSAddIn.dll!nCrunch.VSAddIn.AutomationIntegrator.JumpToDocument(string documentName) + 0x3a bytes	 
    nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.EditorWindowManager.#=qDYBpStOW3Hp$pj8eLC5_TtjOXV4HohoLHPU$a0ANvw8=.#=qjGLsK0Jsjq$qUo9X_gmAtya22Rwi8WkRhp59FspozQo=() + 0x23 bytes	 
    nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.EditorWindowManager.#=qL4RTIbuXqFs7NRXnc5TAiNAhT9yv6fcZejSa5ncB6Cw=(System.Action #=qseRvisiD8qfjygZTU0HN6A==) + 0x1c bytes	 
    nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.EditorWindowManager.#=qMnYyeldyxlh4jSNe2Ivm4k1dyVC_ZEECuIKJ1ZdVGac=(System.Action #=qB1MCsYjxJYJkcWonzVd0JA==) + 0x33 bytes	 
    nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.EditorWindowManager.JumpToDocumentLine(string documentFilePath, int lineNumber) + 0x41 bytes	 
    nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.ContextualCommands.Commands.GoToTestCommand.#=qjPzlQPPJKJ6MT2KOGgjs$$4Xy4RxN$RtotNFAQRXQoc=.#=quO1N4CUjrZ0QMyb$g2ys9A==() + 0x26 bytes	 
    nCrunch.Common.dll!nCrunch.Common.QueuedActionHandler.#=qhKgV0d5viGqUdKbK_nztnw==(nCrunch.Common.QueuedActionHandler.#=ql0xLn1go6xAdoX_XEaYHbMuDm9ilGnLj0$UzUFqPhVw= #=qgKBCKI_25N$MdJ3ed9DjSA==) + 0xf bytes	 
    [Native to Managed Transition]	 
    mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) + 0x76 bytes	 
    nCrunch.VSAddIn.dll!#=qgsSFxNCUKVGI$Y7wg2wyAQatlL3ykJgSCVZTBmwedke1HWIosL4QhwmU3W_MAGYJ.#=qInaX9YjLLl3BJsYpzVGgYCrnYCv1JbLhDpbOXNWBQUs=(System.Delegate #=q2UzvXWz1j8vlBCtMfm$$Eg==, object #=qnMm6VEuPjwaSaTjM8F7cWw==) + 0x44 bytes	 
    [Native to Managed Transition]	 
    mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) + 0x76 bytes	 
    System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackDo(System.Windows.Forms.Control.ThreadMethodEntry tme) + 0xaf bytes	 
    System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(object obj) + 0x63 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.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
    System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallback(System.Windows.Forms.Control.ThreadMethodEntry tme) + 0x95 bytes	 
    System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbacks() + 0x120 bytes	 
    System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x11d bytes	 
    System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x11 bytes	 
    System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x39 bytes	 
    System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x5e bytes	 



Capture 2:

Code:
Not Flagged		5880	1	Main Thread	Main Thread	System.Windows.Controls.ItemsControl.AdjustItemInfosAfterGeneratorChange()	Normal
PresentationFramework.dll!System.Windows.Controls.ItemsControl.AdjustItemInfosAfterGeneratorChange(System.Collections.Generic.IEnumerable<System.Windows.Controls.ItemsControl.ItemInfo> list, bool claimUniqueContainer) + 0x39 bytes	 
PresentationFramework.dll!System.Windows.Controls.Primitives.Selector.AdjustItemInfosAfterGeneratorChangeOverride() + 0xd bytes	 
PresentationFramework.dll!System.Windows.Controls.Primitives.Selector.AdjustNewContainers() + 0x89 bytes	 
PresentationFramework.dll!System.Windows.Controls.Primitives.Selector.OnGeneratorStatusChanged(object sender, System.EventArgs e) + 0x29 bytes	 
PresentationFramework.dll!System.Windows.Controls.ItemContainerGenerator.SetStatus(System.Windows.Controls.Primitives.GeneratorStatus value) + 0x7f bytes	 
PresentationFramework.dll!System.Windows.Controls.ItemContainerGenerator.Generator.System.IDisposable.Dispose() + 0x51 bytes	 
PresentationFramework.dll!System.Windows.Controls.Panel.AddChildren(System.Windows.Controls.Primitives.GeneratorPosition pos, int itemCount) + 0xbd bytes	 
PresentationFramework.dll!System.Windows.Controls.Panel.OnItemsChangedInternal(object sender, System.Windows.Controls.Primitives.ItemsChangedEventArgs args) + 0x30 bytes	 
PresentationFramework.dll!System.Windows.Controls.Panel.OnItemsChanged(object sender, System.Windows.Controls.Primitives.ItemsChangedEventArgs args) + 0x25 bytes	 
PresentationFramework.dll!System.Windows.Controls.ItemContainerGenerator.OnItemAdded(object item, int index) + 0x12b bytes	 
PresentationFramework.dll!System.Windows.Controls.ItemContainerGenerator.OnCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x67 bytes	 
WindowsBase.dll!System.Windows.WeakEventManager.ListenerList<System.Collections.Specialized.NotifyCollectionChangedEventArgs>.DeliverEvent(object sender, System.EventArgs e, System.Type managerType) + 0x12c bytes	 
WindowsBase.dll!System.Windows.WeakEventManager.DeliverEvent(object sender, System.EventArgs args) + 0xd6 bytes	 
WindowsBase.dll!System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x9 bytes	 
PresentationFramework.dll!System.Windows.Data.CollectionView.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x26 bytes	 
PresentationFramework.dll!System.Windows.Controls.ItemCollection.OnViewCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) + 0x2e bytes	 
WindowsBase.dll!System.Windows.WeakEventManager.ListenerList<System.Collections.Specialized.NotifyCollectionChangedEventArgs>.DeliverEvent(object sender, System.EventArgs e, System.Type managerType) + 0x12c bytes	 
WindowsBase.dll!System.Windows.WeakEventManager.DeliverEvent(object sender, System.EventArgs args) + 0xd6 bytes	 
WindowsBase.dll!System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x9 bytes	 
PresentationFramework.dll!System.Windows.Data.CollectionView.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x26 bytes	 
PresentationFramework.dll!System.Windows.Data.ListCollectionView.ProcessCollectionChangedWithAdjustedIndex(System.Collections.Specialized.NotifyCollectionChangedEventArgs args, int adjustedOldIndex, int adjustedNewIndex) + 0x297 bytes	 
PresentationFramework.dll!System.Windows.Data.ListCollectionView.ProcessCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x12d bytes	 
PresentationFramework.dll!System.Windows.Data.CollectionView.OnCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x3c bytes	 
System.dll!System.Collections.ObjectModel.ObservableCollection<AxTools.VS10X.CodeMap.GlobalHistory.GlobalHistoryItem>.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e) + 0x48 bytes	 
System.dll!System.Collections.ObjectModel.ObservableCollection<System.__Canon>.InsertItem(int index, System.__Canon item) + 0x92 bytes	 
mscorlib.dll!System.Collections.ObjectModel.Collection<AxTools.VS10X.CodeMap.GlobalHistory.GlobalHistoryItem>.Insert(int index, AxTools.VS10X.CodeMap.GlobalHistory.GlobalHistoryItem item) + 0x75 bytes	 
AxTools.VS10X.CodeMap.dll!AxTools.VS10X.CodeMap.GlobalHistory.Common.SortGlobalHistory(System.Collections.ObjectModel.ObservableCollection<AxTools.VS10X.CodeMap.GlobalHistory.GlobalHistoryItem> items) + 0x91 bytes	 
AxTools.VS10X.CodeMap.dll!AxTools.VS10X.CodeMap.GlobalHistory.GlobalHistoryMarginProviderBase._DataToGlobalHistoryUI() + 0x35c bytes	 
AxTools.VS10X.CodeMap.dll!AxTools.VS10X.CodeMap.GlobalHistory.GlobalHistoryMarginProviderBase._solutionEvents_ProjectAdded(EnvDTE.Project Project) + 0x3f bytes	 
EnvDTE.dll!EnvDTE._dispSolutionEvents_SinkHelper.ProjectAdded(EnvDTE.Project A_1) + 0xf bytes	 
[Native to Managed Transition]	 
[Native to Managed Transition]	 
[Managed to Native Transition]	 
nCrunch.VSAddIn.dll!nCrunch.VSAddIn.AutomationIntegrator.JumpToDocument(string documentName) + 0x3a bytes	 
nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.EditorWindowManager.#=qDYBpStOW3Hp$pj8eLC5_TtjOXV4HohoLHPU$a0ANvw8=.#=qjGLsK0Jsjq$qUo9X_gmAtya22Rwi8WkRhp59FspozQo=() + 0x23 bytes	 
nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.EditorWindowManager.#=qL4RTIbuXqFs7NRXnc5TAiNAhT9yv6fcZejSa5ncB6Cw=(System.Action #=qseRvisiD8qfjygZTU0HN6A==) + 0x1c bytes	 
nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.EditorWindowManager.#=qMnYyeldyxlh4jSNe2Ivm4k1dyVC_ZEECuIKJ1ZdVGac=(System.Action #=qB1MCsYjxJYJkcWonzVd0JA==) + 0x33 bytes	 
nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.EditorWindowManager.JumpToDocumentLine(string documentFilePath, int lineNumber) + 0x41 bytes	 
nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.ContextualCommands.Commands.GoToTestCommand.#=qjPzlQPPJKJ6MT2KOGgjs$$4Xy4RxN$RtotNFAQRXQoc=.#=quO1N4CUjrZ0QMyb$g2ys9A==() + 0x26 bytes	 
nCrunch.Common.dll!nCrunch.Common.QueuedActionHandler.#=qhKgV0d5viGqUdKbK_nztnw==(nCrunch.Common.QueuedActionHandler.#=ql0xLn1go6xAdoX_XEaYHbMuDm9ilGnLj0$UzUFqPhVw= #=qgKBCKI_25N$MdJ3ed9DjSA==) + 0xf bytes	 
[Native to Managed Transition]	 
mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) + 0x76 bytes	 
nCrunch.VSAddIn.dll!#=qgsSFxNCUKVGI$Y7wg2wyAQatlL3ykJgSCVZTBmwedke1HWIosL4QhwmU3W_MAGYJ.#=qInaX9YjLLl3BJsYpzVGgYCrnYCv1JbLhDpbOXNWBQUs=(System.Delegate #=q2UzvXWz1j8vlBCtMfm$$Eg==, object #=qnMm6VEuPjwaSaTjM8F7cWw==) + 0x44 bytes	 
[Native to Managed Transition]	 
mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) + 0x76 bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackDo(System.Windows.Forms.Control.ThreadMethodEntry tme) + 0xaf bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(object obj) + 0x63 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.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallback(System.Windows.Forms.Control.ThreadMethodEntry tme) + 0x95 bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbacks() + 0x120 bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x11d bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x11 bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x39 bytes	 
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x5e bytes	 

yanglee
#6 Posted : Thursday, April 25, 2013 12:02:46 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/25/2012(UTC)
Posts: 89
Location: China

Thanks: 23 times
Was thanked: 19 time(s) in 18 post(s)
Got it :)

Code:
Not Flagged		5880	1	Main Thread	Main Thread	System.Array.Copy()	Normal
mscorlib.dll!System.Array.Copy(System.Array sourceArray, long sourceIndex, System.Array destinationArray, long destinationIndex, long length) + 0xac bytes	 
WindowsBase.dll!System.Windows.DependencyObject.InsertEntry(System.Windows.EffectiveValueEntry entry, uint entryIndex) + 0x64 bytes	 
WindowsBase.dll!System.Windows.DependencyObject.SetEffectiveValue(System.Windows.EntryIndex entryIndex, System.Windows.DependencyProperty dp, System.Windows.PropertyMetadata metadata, System.Windows.EffectiveValueEntry newEntry, System.Windows.EffectiveValueEntry oldEntry) + 0x75 bytes	 
WindowsBase.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex entryIndex, System.Windows.DependencyProperty dp, System.Windows.PropertyMetadata metadata, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType) + 0x62e bytes	 
PresentationFramework.dll!System.Windows.TreeWalkHelper.InvalidateTreeDependentProperty(System.Windows.TreeChangeInfo info, System.Windows.DependencyObject d, ref MS.Internal.FrameworkObject fo, System.Windows.DependencyProperty dp, System.Windows.FrameworkPropertyMetadata fMetadata, System.Windows.Style selfStyle, System.Windows.Style selfThemeStyle, ref System.Windows.ChildRecord childRecord, bool isChildRecordValid, bool hasStyleChanged, bool isSelfInheritanceParent) + 0x12b bytes	 
PresentationFramework.dll!System.Windows.TreeWalkHelper.InvalidateTreeDependentProperties(System.Windows.TreeChangeInfo info, System.Windows.FrameworkElement fe, System.Windows.FrameworkContentElement fce, System.Windows.Style selfStyle, System.Windows.Style selfThemeStyle, ref System.Windows.ChildRecord childRecord, bool isChildRecordValid, bool hasStyleChanged, bool isSelfInheritanceParent) + 0x151 bytes	 
PresentationFramework.dll!System.Windows.FrameworkElement.InvalidateTreeDependentProperties(System.Windows.TreeChangeInfo parentTreeState, bool isSelfInheritanceParent) + 0x18a bytes	 
PresentationFramework.dll!System.Windows.FrameworkElement.OnAncestorChangedInternal(System.Windows.TreeChangeInfo parentTreeState) + 0x8d bytes	 
PresentationFramework.dll!System.Windows.TreeWalkHelper.InvalidateOnTreeChange(System.Windows.FrameworkElement fe, System.Windows.FrameworkContentElement fce, System.Windows.DependencyObject parent, bool isAddOperation) + 0x190 bytes	 
PresentationFramework.dll!System.Windows.FrameworkElement.OnVisualParentChanged(System.Windows.DependencyObject oldParent) + 0x8f bytes	 
PresentationFramework.dll!System.Windows.Controls.ListBoxItem.OnVisualParentChanged(System.Windows.DependencyObject oldParent) + 0x22 bytes	 
PresentationCore.dll!System.Windows.Media.Visual.FireOnVisualParentChanged(System.Windows.DependencyObject oldParent) + 0x15 bytes	 
PresentationCore.dll!System.Windows.Media.Visual.AddVisualChild(System.Windows.Media.Visual child) + 0x69 bytes	 
PresentationCore.dll!System.Windows.Media.VisualCollection.ConnectChild(int index, System.Windows.Media.Visual value) + 0x52 bytes	 
PresentationCore.dll!System.Windows.Media.VisualCollection.Insert(int index, System.Windows.Media.Visual visual) + 0x9e bytes	 
PresentationFramework.dll!System.Windows.Controls.UIElementCollection.InsertInternal(int index, System.Windows.UIElement element) + 0x35 bytes	 
PresentationFramework.dll!System.Windows.Controls.Panel.AddChildren(System.Windows.Controls.Primitives.GeneratorPosition pos, int itemCount) + 0x77 bytes	 
PresentationFramework.dll!System.Windows.Controls.Panel.OnItemsChangedInternal(object sender, System.Windows.Controls.Primitives.ItemsChangedEventArgs args) + 0x30 bytes	 
PresentationFramework.dll!System.Windows.Controls.Panel.OnItemsChanged(object sender, System.Windows.Controls.Primitives.ItemsChangedEventArgs args) + 0x25 bytes	 
PresentationFramework.dll!System.Windows.Controls.ItemContainerGenerator.OnItemAdded(object item, int index) + 0x12b bytes	 
PresentationFramework.dll!System.Windows.Controls.ItemContainerGenerator.OnCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x67 bytes	 
WindowsBase.dll!System.Windows.WeakEventManager.ListenerList<System.Collections.Specialized.NotifyCollectionChangedEventArgs>.DeliverEvent(object sender, System.EventArgs e, System.Type managerType) + 0x12c bytes	 
WindowsBase.dll!System.Windows.WeakEventManager.DeliverEvent(object sender, System.EventArgs args) + 0xd6 bytes	 
WindowsBase.dll!System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x9 bytes	 
PresentationFramework.dll!System.Windows.Data.CollectionView.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x26 bytes	 
PresentationFramework.dll!System.Windows.Controls.ItemCollection.OnViewCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) + 0x2e bytes	 
WindowsBase.dll!System.Windows.WeakEventManager.ListenerList<System.Collections.Specialized.NotifyCollectionChangedEventArgs>.DeliverEvent(object sender, System.EventArgs e, System.Type managerType) + 0x12c bytes	 
WindowsBase.dll!System.Windows.WeakEventManager.DeliverEvent(object sender, System.EventArgs args) + 0xd6 bytes	 
WindowsBase.dll!System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x9 bytes	 
PresentationFramework.dll!System.Windows.Data.CollectionView.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x26 bytes	 
PresentationFramework.dll!System.Windows.Data.ListCollectionView.ProcessCollectionChangedWithAdjustedIndex(System.Collections.Specialized.NotifyCollectionChangedEventArgs args, int adjustedOldIndex, int adjustedNewIndex) + 0x297 bytes	 
PresentationFramework.dll!System.Windows.Data.ListCollectionView.ProcessCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x12d bytes	 
PresentationFramework.dll!System.Windows.Data.CollectionView.OnCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs args) + 0x3c bytes	 
System.dll!System.Collections.ObjectModel.ObservableCollection<AxTools.VS10X.CodeMap.GlobalHistory.GlobalHistoryItem>.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e) + 0x48 bytes	 
System.dll!System.Collections.ObjectModel.ObservableCollection<System.__Canon>.InsertItem(int index, System.__Canon item) + 0x92 bytes	 
mscorlib.dll!System.Collections.ObjectModel.Collection<AxTools.VS10X.CodeMap.GlobalHistory.GlobalHistoryItem>.Insert(int index, AxTools.VS10X.CodeMap.GlobalHistory.GlobalHistoryItem item) + 0x75 bytes	 
AxTools.VS10X.CodeMap.dll!AxTools.VS10X.CodeMap.GlobalHistory.Common.SortGlobalHistory(System.Collections.ObjectModel.ObservableCollection<AxTools.VS10X.CodeMap.GlobalHistory.GlobalHistoryItem> items) + 0x91 bytes	 
AxTools.VS10X.CodeMap.dll!AxTools.VS10X.CodeMap.GlobalHistory.GlobalHistoryMarginProviderBase._DataToGlobalHistoryUI() + 0x35c bytes	 
AxTools.VS10X.CodeMap.dll!AxTools.VS10X.CodeMap.GlobalHistory.GlobalHistoryMarginProviderBase._solutionEvents_ProjectAdded(EnvDTE.Project Project) + 0x3f bytes	 
EnvDTE.dll!EnvDTE._dispSolutionEvents_SinkHelper.ProjectAdded(EnvDTE.Project A_1) + 0xf bytes	 
[Native to Managed Transition]	 
[Native to Managed Transition]	 
[Managed to Native Transition]	 
nCrunch.VSAddIn.dll!nCrunch.VSAddIn.AutomationIntegrator.JumpToDocument(string documentName) + 0x3a bytes	 
nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.EditorWindowManager.#=qDYBpStOW3Hp$pj8eLC5_TtjOXV4HohoLHPU$a0ANvw8=.#=qjGLsK0Jsjq$qUo9X_gmAtya22Rwi8WkRhp59FspozQo=() + 0x23 bytes	 
nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.EditorWindowManager.#=qL4RTIbuXqFs7NRXnc5TAiNAhT9yv6fcZejSa5ncB6Cw=(System.Action #=qseRvisiD8qfjygZTU0HN6A==) + 0x1c bytes	 
nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.EditorWindowManager.#=qMnYyeldyxlh4jSNe2Ivm4k1dyVC_ZEECuIKJ1ZdVGac=(System.Action #=qB1MCsYjxJYJkcWonzVd0JA==) + 0x33 bytes	 
nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.EditorWindowManager.JumpToDocumentLine(string documentFilePath, int lineNumber) + 0x41 bytes	 
nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.ContextualCommands.Commands.GoToTestCommand.#=qjPzlQPPJKJ6MT2KOGgjs$$4Xy4RxN$RtotNFAQRXQoc=.#=quO1N4CUjrZ0QMyb$g2ys9A==() + 0x26 bytes	 
nCrunch.Common.dll!nCrunch.Common.QueuedActionHandler.#=qhKgV0d5viGqUdKbK_nztnw==(nCrunch.Common.QueuedActionHandler.#=ql0xLn1go6xAdoX_XEaYHbMuDm9ilGnLj0$UzUFqPhVw= #=qgKBCKI_25N$MdJ3ed9DjSA==) + 0xf bytes	 
[Native to Managed Transition]	 
mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) + 0x76 bytes	 
nCrunch.VSAddIn.dll!#=qgsSFxNCUKVGI$Y7wg2wyAQatlL3ykJgSCVZTBmwedke1HWIosL4QhwmU3W_MAGYJ.#=qInaX9YjLLl3BJsYpzVGgYCrnYCv1JbLhDpbOXNWBQUs=(System.Delegate #=q2UzvXWz1j8vlBCtMfm$$Eg==, object #=qnMm6VEuPjwaSaTjM8F7cWw==) + 0x44 bytes	 
[Native to Managed Transition]	 
mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) + 0x76 bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackDo(System.Windows.Forms.Control.ThreadMethodEntry tme) + 0xaf bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(object obj) + 0x63 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.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallback(System.Windows.Forms.Control.ThreadMethodEntry tme) + 0x95 bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbacks() + 0x120 bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x11d bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x11 bytes	 
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x39 bytes	 
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x5e bytes	 

Remco
#7 Posted : Thursday, April 25, 2013 11:04:52 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Thanks Yang. Sadly this hasn't given us a smoking gun pointing at the problem, but it does narrow things down somewhat.

When NCrunch tries to navigate to a document, it relies on a set of VS automation interfaces to pull up the list of documents and open the relevant document. Control then passes to the underlying API where Visual Studio works its magic. This means that the lockup isn't caused by NCrunch directly, but instead is triggered indirectly (i.e. VS is locking up in response to an API call that it should reasonably be able to handle without locking up).

Of particular interest to me in the stack trace is this component: AxTools.VS10X.CodeMap.dll

It looks as though the component (a VS plugin/package?) is performing a major visual refresh in response to either the navigation instruction, or the document query. Is this a plugin you've installed yourself that you may be able to disable? Doing so could help narrow down what is happening here ... it looks as though this may be a performance issue with the plugin that NCrunch is surfacing.

Something else that might be helpful is to try breaking into the process several times while it is locked up, and to see if the stack traces are in rough alignment between each break. This will help to identify whether the issue is coming from one place, or many.

Cheers,

Remco
yanglee
#8 Posted : Friday, April 26, 2013 8:46:09 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/25/2012(UTC)
Posts: 89
Location: China

Thanks: 23 times
Was thanked: 19 time(s) in 18 post(s)
Quote:
Of particular interest to me in the stack trace is this component: AxTools.VS10X.CodeMap.dll

It looks as though the component (a VS plugin/package?) is performing a major visual refresh in response to either the navigation instruction, or the document query. Is this a plugin you've installed yourself that you may be able to disable? Doing so could help narrow down what is happening here ... it looks as though this may be a performance issue with the plugin that NCrunch is surfacing.

Something else that might be helpful is to try breaking into the process several times while it is locked up, and to see if the stack traces are in rough alignment between each break. This will help to identify whether the issue is coming from one place, or many.

AxTools.VS10X.CodeMap.dll belongs to VS10x Code Map.

That could be the source of the problem, it displays a code map for a document when its opened. Maybe its recent update causes the problem (I get an update every 1~3 weeks). I will try to disable it temporarily and will post here when I have more info.

Cheers,
Yang
yanglee
#9 Posted : Sunday, April 28, 2013 9:20:42 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/25/2012(UTC)
Posts: 89
Location: China

Thanks: 23 times
Was thanked: 19 time(s) in 18 post(s)
Have not experienced this issue since disabled VS10X Code Map 2 days ago. I will raise a bug with them.
1 user thanked yanglee for this useful post.
Remco on 4/29/2013(UTC)
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.101 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download