Description
Stepping into a reverse P/Invoke from managed code crashes VS during step-in.
Reproduction Steps
The reproduction I used was the COMCallPrimitives library and trying to step into the callback in HostPolicyMock. Stepping into that callback causes VS2026 to crash.
Expected behavior
VS steps into and stops in the managed callback called from native code.
Actual behavior
VS freezes until it crashes and restarts.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
Description
Stepping into a reverse P/Invoke from managed code crashes VS during step-in.
Reproduction Steps
The reproduction I used was the COMCallPrimitives library and trying to step into the callback in HostPolicyMock. Stepping into that callback causes VS2026 to crash.
Expected behavior
VS steps into and stops in the managed callback called from native code.
Actual behavior
VS freezes until it crashes and restarts.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response