Forum member
TobiasvdVen
7 posts
Posts by TobiasvdVen
-
InvalidCastException When Using [StructLayout] to Reinterpret Bytes
That seems consistent with my findings. It seems to indexing operator "works" by accident, but the underlying type at runtime is still a byte[] and attempting to cast explicitly reveals that fact. [quote]//ncrunch: rdi off[/quote] This also fixes it for me, so I guess it was RDI after all. I t…
25 Jul 2024 08:14 UTC
-
InvalidCastException When Using [StructLayout] to Reinterpret Bytes
I found an odd case in the codebase at my work after upgrading to 5.9.0.1 today. I can't say for certain if this was present in previous versions of NCrunch, as it has been a while since I was able to run NCrunch with our solution. What I do know is that this test passes in the VS test runner, bu…
24 Jul 2024 13:14 UTC
-
Not initializing due to exception
It seems to work for us on the latest version, excellent! (5.9.0.1)
24 Jul 2024 13:05 UTC
-
Not initializing due to exception
I should have mentioned my version, it's: 4.16.0.4. So I don't have that fix yet, I guess I'll upgrade and report back if it works :)
23 Jul 2024 07:49 UTC
-
Not initializing due to exception
I've been dealing with this issue at work, and I would really like to be able to use NCrunch, so I spent some time messing around :) I've found what appears to be a workaround, but it makes me wonder if there is any way to make it a bit easier to maintain from NCrunch's side, or if this will fail a…
22 Jul 2024 15:26 UTC
-
StackOverflowDetectedException in NCrunch, but test passes in other runners
Aha, disabling the stack overflow detection for all projects did indeed result in no StackOverflowDetectedException being thrown. I'm still curious exactly what we're doing that is running up the stack so much that it triggers NCrunch to detect an overflow... But, I can continue my work through…
01 Aug 2022 12:27 UTC
-
StackOverflowDetectedException in NCrunch, but test passes in other runners
Hi, I've been having some troubles with a StackOverflowDetectedException. I'm afraid I currently don't have a clear reproduction case, as I'm not sure why this is occurring. And the code I'm working on is proprietary, so I wouldn't be able to share it directly. On the off chance that maybe som…
29 Jul 2022 09:55 UTC