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

Notification

Icon
Error

Rider: NCrunch stuck in infinite window refresh loop when having 2 solutions opened.
GreenMoose
#1 Posted : Friday, March 15, 2024 10:43:44 AM(UTC)
Rank: Advanced Member

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

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
[v5.3.0.2]

This was an interesting one. If you "dock" a window in Rider while having 2 solutions opened (in 2 different Rider "instances"), and then refocus other solution, NCrunch keeps flickering back and forth forever until you kill the nCrunch.Rider.EngineHost processes.

What I did to repro :
1. Create 2 projects in dir/proj1 and dir/proj2
2. Create 2 solutions, proj1.sln containing proj1 and proj2, proj2.sln containing only proj2.
3. Ensure NCrunch tests are visible but not NCrunch processing queue. Open up both solutions in different Rider windows.
4. In proj1.sln, show NCrunch processing queue and dock it somewhere. Note: Just making it visible/non visible does not seem to repro behaviour. I had to dock it to different locations.
5. Go back to proj2.sln, NCrunch now seems to refresh windows forever, getting confused if it should show proj1.sln view or proj2.sln view.

Quote:

dotnet new classlib -o proj1
dotnet new classlib -o proj2
dotnet add .\proj1\ package NUnit
dotnet add .\proj2\ package NUnit
dotnet new sln -n proj1
dotnet new sln -n proj2
dotnet sln .\proj1.sln add .\proj1\
dotnet sln .\proj1.sln add .\proj2\
dotnet sln .\proj2.sln add .\proj2\



p.s. When I try to load these 2 solutions simultaneously I also managed to get a corrupted NCrunch menu, sent a separate bug report for that d.s.

Screencast:
NCrunch win loop
michaelkroes
#2 Posted : Friday, March 15, 2024 11:00:40 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 281
Location: Netherlands

Thanks: 125 times
Was thanked: 66 time(s) in 63 post(s)
That's certainly interesting behavior :)

I'll see what we can do about this one. Thanks for the report and repro!
GreenMoose
#3 Posted : Saturday, March 16, 2024 2:23:47 PM(UTC)
Rank: Advanced Member

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

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
FWIW, this now happens to me even though I haven't moved any window. Maybe it's the layout previously being cached or something.
(Will go back to VStudio for my multi solution work for now 😱)
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.025 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download