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

Notification

Icon
Error

NCrunch 5.21.0.10 hangs when Risk/Progress window is visible
DanielBengtsson
#1 Posted : Friday, July 3, 2026 10:54:37 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/3/2026(UTC)
Posts: 4
Location: Sweden

Hi,

Visual Studio 2026 Professional (18.0.11820.231) intermittently becomes completely unresponsive when NCrunch 5.21.0.10 is enabled.

Uninstalling NCrunch resolves the issue. Reinstalling it helped temporarily, but the problem later returned. Deleting the solution-local .NCrunch folder did not help.

The issue seems more likely to occur when the NCrunch Risk/Progress window is visible.

While VS was hung, I attached another VS instance to devenv.exe and paused execution. The main UI thread was inside:

nCrunch.VSAddIn.UI.StatusIndicator.StatusIndicatorWindow.resize
nCrunch.VSIntegration2026.UIScaling.SuppressHostSizeTranslation
System.Windows.Forms.SplitContainer.ResizeSplitContainer
System.Windows.Forms.SplitContainer.RepaintSplitterRect
System.Drawing.Graphics.FillRectangle

This looks like a possible NCrunch UI resize/layout or DPI-related loop affecting the VS main thread.

Is this a known issue, and is there a recommended workaround or diagnostic information you would like me to capture?

Thanks.
Remco
#2 Posted : Friday, July 3, 2026 1:15:11 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 1037 times
Was thanked: 1397 time(s) in 1295 post(s)
Hi, thanks for sharing this issue.

Does the issue appear for you at all if you keep the status indicator window closed?

Can you confirm whether you have any other 3rd party packages installed, and if so, whether temporarily removing them helps with the issue?

This issue seems contextually relevant, as it's another situation where we've had performance issues related to WM_RESIZE. I think there are some configurations that can cause the platform to spam this event and cause crashes and performance issues. The Status Indicator is perhaps susceptible to this because the logic it has inside the resize event is non-trivial (though not as bad as the Tests Window with a lot of trace output). In the reported case, the root problem seemed to be a DPI scaling glitch related to the scrollbar.

I'll warn you that problems of this nature are hard to fix, because I'm unlikely to find a way to reproduce them. It's basically a case of fix and hope. You'll notice that in the above thread, we got there in the end. Any further data you can share that might help to narrow down the problem would be a huge help.
DanielBengtsson
#3 Posted : Friday, July 3, 2026 1:50:51 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/3/2026(UTC)
Posts: 4
Location: Sweden

Thanks for quick reply! Yes, it seems like having the status indicator window closed have not triggered any freeze during a couple of hours.
I only have latest version of ReSharper installed. Have not tried to disable or remove it. Can maybe check more next week.
Glad to help. Maybe I can try any SysInternals tool or equivalent to log messages (even if it was several years since I used them)?
Remco
#4 Posted : Friday, July 3, 2026 2:27:03 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 1037 times
Was thanked: 1397 time(s) in 1295 post(s)
DanielBengtsson;18856 wrote:
Thanks for quick reply! Yes, it seems like having the status indicator window closed have not triggered any freeze during a couple of hours.
I only have latest version of ReSharper installed. Have not tried to disable or remove it. Can maybe check more next week.
Glad to help. Maybe I can try any SysInternals tool or equivalent to log messages (even if it was several years since I used them)?


Any info you can get me will help. Try keeping that indicator closed for a few days and let me know how it goes. If the problem doesn't reappear, then we can be certain that it's isolated to that component and I can try making some adjustments to it.
DanielBengtsson
#5 Posted : Tuesday, August 11, 2026 1:51:42 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/3/2026(UTC)
Posts: 4
Location: Sweden

Hi again! Now I have tested for some weeks. VS still freeze when having the status indicator window visible when loading a solution. When the solution have been fully loaded it is no problem showing the status indicator window.
Hope these hints give a clue.
Remco
#6 Posted : Tuesday, August 11, 2026 1:55:07 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 1037 times
Was thanked: 1397 time(s) in 1295 post(s)
DanielBengtsson;18878 wrote:
Hi again! Now I have tested for some weeks. VS still freeze when having the status indicator window visible when loading a solution. When the solution have been fully loaded it is no problem showing the status indicator window.
Hope these hints give a clue.


Thanks for confirming this. The Status Indicator Window is very old and is known to have performance issues when working with larger solutions with many tests. The central issue with it is that it relies on conducting simulations to determine the overall processing time/window, which is computationally extremely expensive.

I recommend avoiding the use of this window in your solution.
DanielBengtsson
#7 Posted : Wednesday, August 12, 2026 8:51:41 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/3/2026(UTC)
Posts: 4
Location: Sweden

Thanks. I understand. I am trying to use the tabs NCrunch Tests + NCrunch Processing Queues to quickly understand if all important test (after some editing) have been rerun and now are green (or they still are waiting to be run). Status Indicator Window gives a quicker view for it. Best is if I can get same information quickly from NCruch Tests tab in some way :)
Remco
#8 Posted : Wednesday, August 12, 2026 9:23:08 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 1037 times
Was thanked: 1397 time(s) in 1295 post(s)
DanielBengtsson;18880 wrote:
Thanks. I understand. I am trying to use the tabs NCrunch Tests + NCrunch Processing Queues to quickly understand if all important test (after some editing) have been rerun and now are green (or they still are waiting to be run). Status Indicator Window gives a quicker view for it. Best is if I can get same information quickly from NCruch Tests tab in some way :)


There's currently 3 good ways to get this info:
- The label at the top of the Tests Window reports the number tests in the queue. Just under this you'll see a coloured bar that indicates how many of the tests are passing or failing. The shade of these regions determines how many of these tests are from current (recently run) data or stale (out of date) data. When the bar has no darker regions, all tests are run.
- The NCrunch spinner in the corner of the IDE has a number of points that spin around the center text/number. Each of these represents an execution task. When nothing is spinning, the queue is clear.
- Hovering the cursor over the spinner gives detailed information including the same coloured bar from the Tests Window along with numbers on how many tasks and tests there are in each category.

My own experience was that when getting used to the above, I never missed the Status Indicator Window.
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.046 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download