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

Notification

Icon
Error

NCrunch "pinned tests" engine mode causes vstudio to be slow (even with external process)
GreenMoose
#1 Posted : Tuesday, January 27, 2015 9:02:09 AM(UTC)
Rank: Advanced Member

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

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
v2.11.0.12 with "x64SatelliteProcess" enabled.

Background:
* devenv.exe is at 2.3GB RAM usage (2.5GB working set)
* NCrunch.EngineHost451.x64.exe is at 2GB usage.
* RS 9 is in "suspended" mode.
* *.js files are part of the exclusion list for the project.
* Sliding build delay is 2000.
* Build engine was set to a custom mode named "Pinned or impacted-no-LRT" (LRT is a LongRunningTest category name).

Experience given above conditions
1. I type below in a js file with NCrunch enabled:
var Foo = Foo | {};
This is taking several seconds for each character to appear.
2. I disable NCrunch and repeat the process. Now it is fast/normal.

3. I enable NCrunch, vstudio freezes for several minutes.
4. I try to same JS line again, same issue if not worse. devenv.exe eating cpu hard trying to display those few characters (I can write this post before the characters have appeared).
5. I set NCrunch engine mode to "Run all tests manually". Now it is fast/normal.
6. I set NCrunch engine mode to "Pinned or impacted-no-LRT" Back to slow. I notice that the processing queue is processing simply by selecting this mode and the pinned tests are executed.
7. I start to type above line, very slow and processing queue shows it is processing a lot, and pinned tests are run.
8. I set NCrunch engine mode to "Impacted, incl. LRT". It is fast/normal (and nothing is processed and pinned tests are not executed).


I.e. it seems for some reason depending on engine mode NCrunch when having condition that test is pinned is not respecting my setting of ignoring specific files?

Also it seems that the UI thread is being "choked" by NCrunch when it does the processing. It is very sluggish when typing in CS files as well given above conditions and causes occasional vstudio freezes. But for some reason editing JS file is causing extreme laginess with NCrunch in combination with certain engine modes, even if it's on the exclusion list.

(but report submitted with same title).
Remco
#2 Posted : Tuesday, January 27, 2015 10:07:11 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)
This will be difficult to narrow down. Sorry I'll need to ask some further questions to get an idea of what is happening here.

- Can you reproduce this from a freshly opened VS instance?
- Are you working in any files (particularly JS files) that are especially large? For example >3k lines of code
- Does this happen for you if you set the engine to be hosted in the IDE?
- Do you notice any difference in behaviour if all the NCrunch UI windows are closed vs open?
GreenMoose
#3 Posted : Tuesday, January 27, 2015 1:04:48 PM(UTC)
Rank: Advanced Member

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

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
Remco;6855 wrote:
- Can you reproduce this from a freshly opened VS instance?

Yes, although vstudio isn't freezing and is now "workable" the behavior with processing pinned tests and waiting seconds for characters to appear occurs now as well (devenv.exe using 1.1GB and engineHost is using 2.2GB) can still be seen.

Remco;6855 wrote:

- Are you working in any files (particularly JS files) that are especially large? For example >3k lines of code

No this JS file is 287 lines, but if it's included in exclusion list shouldn't NCrunch ignore it all together, i.e. even during "edit events"?

Remco;6855 wrote:

- Does this happen for you if you set the engine to be hosted in the IDE?

Yes.

Remco;6855 wrote:

- Do you notice any difference in behaviour if all the NCrunch UI windows are closed vs open?

It is fast with all closed, only having processing queue window makes it a bit worse but not much, only having Tests window visible makes it much worse (showing only pinned and failed, about 25 tests and 1 failing). Typing "//This is a long comment" caused 11 seconds wait after I was done typing until the entire text was shown.


i.e. from what I can tell:
* Synching tests window seems to have high impact on UI.
* Editing JS files trigger NCrunch "edit events" even though file is excluded in Ncrunch configuraiton.
Remco
#4 Posted : Tuesday, January 27, 2015 9:28:51 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, this helps a lot. The JS file editing doesn't make much sense to me... but I'm wondering if you could try something regarding the tests window.

If you set all the filters so that no data appears in the window, does it still cause you lag?
Remco
#6 Posted : Tuesday, January 27, 2015 9:38:57 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)
Something else that might be worth trying ....

When the problem is appearing, try holding down the button inside the JS file for a little while, so that VS grinds itself to a halt. Then try attaching the debugger from another VS instance. Break into the process and examine the stack trace for the UI thread a few times. Is there a consistent pattern in where the UI thread is spending its time?
GreenMoose
#5 Posted : Wednesday, January 28, 2015 8:05:00 AM(UTC)
Rank: Advanced Member

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

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
Remco;6860 wrote:
Thanks, this helps a lot. The JS file editing doesn't make much sense to me... but I'm wondering if you could try something regarding the tests window.

If you set all the filters so that no data appears in the window, does it still cause you lag?

No the lag disappears (used a text filter).

Remco;6860 wrote:

When the problem is appearing, try holding down the button inside the JS file for a little while, so that VS grinds itself to a halt. Then try attaching the debugger from another VS instance. Break into the process and examine the stack trace for the UI thread a few times. Is there a consistent pattern in where the UI thread is spending its time?


Seems to be related to NCrunch rendering the grid, attaching stacktraces in below posts.
GreenMoose
#7 Posted : Wednesday, January 28, 2015 8:08:01 AM(UTC)
Rank: Advanced Member

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

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
Code:

 	[Managed to Native Transition]	
>	System.Drawing.dll!System.Drawing.Bitmap.Bitmap(int width, int height, System.Drawing.Imaging.PixelFormat format)	Unknown
 	System.Drawing.dll!System.Drawing.Bitmap.Bitmap(int width, int height)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.ImageList.GetBitmap(int index)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.ImageList.ImageCollection.this[int].get(int index)	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TreeGridControl.PaintableObjects.PaintableFirstBodyCell.(NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid , nCrunch.Client.UI.TreeGridControl.TreeGridRow , ref int , int )	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TreeGridControl.PaintableObjects.PaintableFirstBodyCell.PaintableFirstBodyCell(NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid treeGrid, int viewX, int viewY, int width, int height, nCrunch.Client.UI.TreeGridControl.TreeGridRow row, nCrunch.VSAddIn.UI.TreeGridControl.Columns.TreeGridColumn column, int nestLevel, nCrunch.VSAddIn.UI.TreeGridControl.Palette palette)	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.(nCrunch.Client.UI.TreeGridControl.TreeGridRow , int , int )	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.()	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.()	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.BindToRows(nCrunch.Client.UI.TreeGridControl.TreeGridRowCollection allExpandedRows, System.Type rowType)	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow..()	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow.(System.Action )	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow.(nCrunch.Client.UI.TestTree.TestTreeUpdatedEvent )	Unknown
 	[Native to Managed Transition]	
 	mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) Line 132	C#
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UIMessageDispatcher.(System.Delegate , object )	Unknown
 	[Native to Managed Transition]	
 	mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) Line 132	C#
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackDo(System.Windows.Forms.Control.ThreadMethodEntry tme)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(object obj)	Unknown
 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 581	C#
 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 531	C#
 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 520	C#
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallback(System.Windows.Forms.Control.ThreadMethodEntry tme)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbacks()	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam)	Unknown

    
    ////<new session>//////////////////////////////////
    
    
    
    >	mscorlib.dll!System.Array.Copy(System.Array sourceArray, System.Array destinationArray, int length) Line 298	C#
 	mscorlib.dll!System.Reflection.AssemblyName.Init(string name, byte[] publicKey, byte[] publicKeyToken, System.Version version, System.Globalization.CultureInfo cultureInfo, System.Configuration.Assemblies.AssemblyHashAlgorithm hashAlgorithm, System.Configuration.Assemblies.AssemblyVersionCompatibility versionCompatibility, string codeBase, System.Reflection.AssemblyNameFlags flags, System.Reflection.StrongNameKeyPair keyPair) Line 495	C#
 	[Native to Managed Transition]	
 	mscorlib.dll!System.Reflection.AssemblyName.AssemblyName(string assemblyName) Line 382	C#
 	mscorlib.dll!System.Resources.ResourceManager.CompareNames(string asmTypeName1, string typeName2, System.Reflection.AssemblyName asmName2) Line 947	C#
 	mscorlib.dll!System.Resources.ResourceReader.TypeLimitingDeserializationBinder.BindToType(string assemblyName, string typeName) Line 1300	C#
 	mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.ObjectReader.Bind(string assemblyString, string typeString) Line 1338	C#
 	mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo assemblyInfo, string name) Line 1464	C#
 	mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.ObjectMap.ObjectMap(string objectName, string[] memberNames, System.Runtime.Serialization.Formatters.Binary.BinaryTypeEnum[] binaryTypeEnumA, object[] typeInformationA, int[] memberAssemIds, System.Runtime.Serialization.Formatters.Binary.ObjectReader objectReader, int objectId, System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo assemblyInfo, System.Runtime.Serialization.Formatters.Binary.SizedArray assemIdToAssemblyTable) Line 2125	C#
 	mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(System.Runtime.Serialization.Formatters.Binary.BinaryObjectWithMapTyped record) Line 684	C#
 	mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(System.Runtime.Serialization.Formatters.Binary.BinaryHeaderEnum binaryHeaderEnum) Line 657	C#
 	mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() Line 146	C#
 	mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(System.Runtime.Remoting.Messaging.HeaderHandler handler, System.Runtime.Serialization.Formatters.Binary.__BinaryParser serParser, bool fCheck, bool isCrossAppDomain, System.Runtime.Remoting.Messaging.IMethodCallMessage methodCallMessage) Line 178	C#
 	mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, bool fCheck, bool isCrossAppDomain, System.Runtime.Remoting.Messaging.IMethodCallMessage methodCallMessage) Line 197	C#
 	mscorlib.dll!System.Resources.ResourceReader.DeserializeObject(int typeIndex) Line 837	C#
 	mscorlib.dll!System.Resources.ResourceReader._LoadObjectV2(int pos, out System.Resources.ResourceTypeCode typeCode) Line 796	C#
 	mscorlib.dll!System.Resources.ResourceReader.LoadObjectV2(int pos, out System.Resources.ResourceTypeCode typeCode) Line 667	C#
 	mscorlib.dll!System.Resources.ResourceReader.LoadObject(int pos, out System.Resources.ResourceTypeCode typeCode) Line 576	C#
 	mscorlib.dll!System.Resources.RuntimeResourceSet.GetObject(string key, bool ignoreCase, bool isString) Line 328	C#
 	mscorlib.dll!System.Resources.RuntimeResourceSet.GetObject(string key, bool ignoreCase) Line 286	C#
 	mscorlib.dll!System.Resources.ResourceManager.GetObject(string name, System.Globalization.CultureInfo culture, bool wrapUnmanagedMemStream) Line 1351	C#
 	mscorlib.dll!System.Resources.ResourceManager.GetObject(string name, System.Globalization.CultureInfo culture) Line 1314	C#
 	nCrunch.VSAddIn.dll! .()	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TreeGridControl.PaintableObjects.PaintableExpander.PaintableExpander(NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid treeGrid, int viewX, int viewY, nCrunch.Client.UI.TreeGridControl.TreeGridRow row)	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TreeGridControl.PaintableObjects.PaintableFirstBodyCell.(NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid , ref int )	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TreeGridControl.PaintableObjects.PaintableFirstBodyCell.PaintableFirstBodyCell(NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid treeGrid, int viewX, int viewY, int width, int height, nCrunch.Client.UI.TreeGridControl.TreeGridRow row, nCrunch.VSAddIn.UI.TreeGridControl.Columns.TreeGridColumn column, int nestLevel, nCrunch.VSAddIn.UI.TreeGridControl.Palette palette)	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.(nCrunch.Client.UI.TreeGridControl.TreeGridRow , int , int )	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.()	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.()	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.BindToRows(nCrunch.Client.UI.TreeGridControl.TreeGridRowCollection allExpandedRows, System.Type rowType)	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow..()	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow.(System.Action )	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow.(nCrunch.Client.UI.TestTree.TestTreeUpdatedEvent )	Unknown
 	[Native to Managed Transition]	
 	mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) Line 132	C#
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UIMessageDispatcher.(System.Delegate , object )	Unknown
 	[Native to Managed Transition]	
 	mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) Line 132	C#
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackDo(System.Windows.Forms.Control.ThreadMethodEntry tme)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(object obj)	Unknown
 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 581	C#
 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 531	C#
 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 520	C#
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallback(System.Windows.Forms.Control.ThreadMethodEntry tme)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbacks()	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam)	Unknown

    
    
    ////<new session>//////////////////////////////////
    
    
     	[Managed to Native Transition]	
>	System.Windows.Forms.dll!System.Windows.Forms.Application.ParkingWindow.ParkHandle(System.Runtime.InteropServices.HandleRef handle)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.SetParentHandle(System.IntPtr value)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlCollection.Remove(System.Windows.Forms.Control value)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlCollection.Clear()	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.()	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.BindToRows(nCrunch.Client.UI.TreeGridControl.TreeGridRowCollection allExpandedRows, System.Type rowType)	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow..()	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow.(System.Action )	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow.(nCrunch.Client.UI.TestTree.TestTreeUpdatedEvent )	Unknown
 	[Native to Managed Transition]	
 	mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) Line 132	C#
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UIMessageDispatcher.(System.Delegate , object )	Unknown
 	[Native to Managed Transition]	
 	mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) Line 132	C#
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackDo(System.Windows.Forms.Control.ThreadMethodEntry tme)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(object obj)	Unknown
 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 581	C#
 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 531	C#
 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 520	C#
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallback(System.Windows.Forms.Control.ThreadMethodEntry tme)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbacks()	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam)	Unknown

    
    ////<new session>//////////////////////////////////
    
     	[Managed to Native Transition]	
>	System.Drawing.dll!System.Drawing.Graphics.DrawImage(System.Drawing.Image image, System.Drawing.Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttrs, System.Drawing.Graphics.DrawImageAbort callback, System.IntPtr callbackData)	Unknown
 	System.Drawing.dll!System.Drawing.Bitmap.MakeTransparent(System.Drawing.Color transparentColor)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.ImageList.GetBitmap(int index)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.ImageList.ImageCollection.this[int].get(int index)	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TreeGridControl.PaintableObjects.PaintableFirstBodyCell.(NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid , nCrunch.Client.UI.TreeGridControl.TreeGridRow , ref int , int )	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TreeGridControl.PaintableObjects.PaintableFirstBodyCell.PaintableFirstBodyCell(NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid treeGrid, int viewX, int viewY, int width, int height, nCrunch.Client.UI.TreeGridControl.TreeGridRow row, nCrunch.VSAddIn.UI.TreeGridControl.Columns.TreeGridColumn column, int nestLevel, nCrunch.VSAddIn.UI.TreeGridControl.Palette palette)	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.(nCrunch.Client.UI.TreeGridControl.TreeGridRow , int , int )	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.()	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.()	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.BindToRows(nCrunch.Client.UI.TreeGridControl.TreeGridRowCollection allExpandedRows, System.Type rowType)	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow..()	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow.(System.Action )	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow.(nCrunch.Client.UI.TestTree.TestTreeUpdatedEvent )	Unknown
 	[Native to Managed Transition]	
 	mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) Line 132	C#
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UIMessageDispatcher.(System.Delegate , object )	Unknown
 	[Native to Managed Transition]	
 	mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) Line 132	C#
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackDo(System.Windows.Forms.Control.ThreadMethodEntry tme)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(object obj)	Unknown
 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 581	C#
 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 531	C#
 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 520	C#
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallback(System.Windows.Forms.Control.ThreadMethodEntry tme)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbacks()	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam)	Unknown

    
    ////<new session>//////////////////////////////////
    
     	[Managed to Native Transition]	
>	System.Drawing.dll!System.Drawing.Image.InitializeFromStream(System.IO.Stream stream)	Unknown
 	System.Drawing.dll!System.Drawing.Image.Image(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)	Unknown
 	System.Drawing.dll!System.Drawing.Bitmap.Bitmap(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)	Unknown
 	[Native to Managed Transition]	
 	mscorlib.dll!System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(object obj, System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) Line 867	C#
 	mscorlib.dll!System.Runtime.Serialization.ObjectManager.FixupSpecialObject(System.Runtime.Serialization.ObjectHolder holder) Line 256	C#
 	mscorlib.dll!System.Runtime.Serialization.ObjectManager.DoFixups() Line 918	C#
 	mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(System.Runtime.Remoting.Messaging.HeaderHandler handler, System.Runtime.Serialization.Formatters.Binary.__BinaryParser serParser, bool fCheck, bool isCrossAppDomain, System.Runtime.Remoting.Messaging.IMethodCallMessage methodCallMessage) Line 183	C#
 	mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, bool fCheck, bool isCrossAppDomain, System.Runtime.Remoting.Messaging.IMethodCallMessage methodCallMessage) Line 197	C#
 	mscorlib.dll!System.Resources.ResourceReader.DeserializeObject(int typeIndex) Line 837	C#
 	mscorlib.dll!System.Resources.ResourceReader._LoadObjectV2(int pos, out System.Resources.ResourceTypeCode typeCode) Line 796	C#
 	mscorlib.dll!System.Resources.ResourceReader.LoadObjectV2(int pos, out System.Resources.ResourceTypeCode typeCode) Line 667	C#
 	mscorlib.dll!System.Resources.ResourceReader.LoadObject(int pos, out System.Resources.ResourceTypeCode typeCode) Line 576	C#
 	mscorlib.dll!System.Resources.RuntimeResourceSet.GetObject(string key, bool ignoreCase, bool isString) Line 328	C#
 	mscorlib.dll!System.Resources.RuntimeResourceSet.GetObject(string key, bool ignoreCase) Line 286	C#
 	mscorlib.dll!System.Resources.ResourceManager.GetObject(string name, System.Globalization.CultureInfo culture, bool wrapUnmanagedMemStream) Line 1351	C#
 	mscorlib.dll!System.Resources.ResourceManager.GetObject(string name, System.Globalization.CultureInfo culture) Line 1314	C#
 	nCrunch.VSAddIn.dll! .()	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TreeGridControl.PaintableObjects.PaintableFirstBodyCell.(NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid , ref int )	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TreeGridControl.PaintableObjects.PaintableFirstBodyCell.PaintableFirstBodyCell(NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid treeGrid, int viewX, int viewY, int width, int height, nCrunch.Client.UI.TreeGridControl.TreeGridRow row, nCrunch.VSAddIn.UI.TreeGridControl.Columns.TreeGridColumn column, int nestLevel, nCrunch.VSAddIn.UI.TreeGridControl.Palette palette)	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.(nCrunch.Client.UI.TreeGridControl.TreeGridRow , int , int )	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.()	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.()	Unknown
 	nCrunch.VSAddIn.dll!NCrunch.VSAddIn.UI.TreeGridControl.TreeGrid.BindToRows(nCrunch.Client.UI.TreeGridControl.TreeGridRowCollection allExpandedRows, System.Type rowType)	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow..()	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow.(System.Action )	Unknown
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UI.TestTree.TestsWindow.(nCrunch.Client.UI.TestTree.TestTreeUpdatedEvent )	Unknown
 	[Native to Managed Transition]	
 	mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) Line 132	C#
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.UIMessageDispatcher.(System.Delegate , object )	Unknown
 	[Native to Managed Transition]	
 	mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) Line 132	C#
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackDo(System.Windows.Forms.Control.ThreadMethodEntry tme)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(object obj)	Unknown
 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 581	C#
 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 531	C#
 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 520	C#
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallback(System.Windows.Forms.Control.ThreadMethodEntry tme)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbacks()	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m)	Unknown
 	System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam)	Unknown

  
Remco
#8 Posted : Thursday, January 29, 2015 12:09:25 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)
Ok, I think we're getting close here :)

At my end I've identified a problem where files that have been set to be excluded from auto-build aren't being handled properly. It seems that when these files are changed, the builds aren't queued but the tests still are. This creates a situation that can cause the tests to change state very rapidly, which I expect would queue up many refresh events inside the Tests Window to keep up with the state changes.

Does removing .JS files from auto build seem to resolve the problem at your end?
GreenMoose
#9 Posted : Thursday, January 29, 2015 2:26:32 PM(UTC)
Rank: Advanced Member

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

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
Remco;6880 wrote:
Does removing .JS files from auto build seem to resolve the problem at your end?

Yes!
Remco
#10 Posted : Friday, January 30, 2015 1:32:51 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)
GreenMoose
#11 Posted : Friday, January 30, 2015 9:33:18 AM(UTC)
Rank: Advanced Member

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

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
Works, thanks.
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.088 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download