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: 2
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,570

Thanks: 1035 times
Was thanked: 1388 time(s) in 1288 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: 2
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,570

Thanks: 1035 times
Was thanked: 1388 time(s) in 1288 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.
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.036 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download