Unplanned
Last Updated: 27 Jun 2025 14:07 by Ivo
Ivo
Created on: 27 Jun 2025 14:07
Type: Bug Report
0
Using JustMock could cause unexpected debugger errors

To replicate the problem using the provided project, follow these steps:

1. Open the solution in Rider.
2. Set breakpoints at the beginning of the test.
3. Start debugging the test.
4. Step into the constructor of the Car class and inspect the contents of the array. Note that if this step is skipped, the issue will not be reproducible.
5. Step out of the constructor.
6. Continue execution until just before calling the virtual function for the Number property.
7. Step into the function.

**EXPECTED** The value of Name should be visible.

**ACTUAL** A debugger error occurs.

The issue can appear in both Visual Studio (showing "Internal error in the C# compiler") and Rider (showing "Read out of bounds"). 


Attached Files:
0 comments