Reproduction steps:
1. Open the attached “Repro“ project
2. Open the “TestScene.unity“
3. Open your debugger of choice and attach it to the Editor
4. Place a breakpoint on the 11th line of the “Assets/TestComponent.cs” Script
5. Enter the Play Mode
Expected result: The debugger steps into the loop
Actual result: Editor crashes
Reproducible with: 2021.3.44f1, 2022.3.50f1, 6000.0.23f1
Reproducible on: M1 Max MacOS 14.6.1
Not reproducible on: No other environment tested
Notes:
- No stack trace was produced
- The Script executes as expected without debugging