dotnet / dotnet/fsharp

Visual Studio Debugger error dialog: "To prevent an unsafe abort when evaluating the function *.__DebugDisplay" all threads where allowed to run.

Open
#18,305 5 comments 1 reaction 1 assignee Claimed by @psfinaki View on GitHub
Area-Debug Bug Impact-High
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

Lately, while. debugging C# code where I have instances of a F# DU, I hit this error dialog:

![Image](https://github.com/user-attachments/assets/6d7c5dcc-ea73-4fa6-b295-b5a1a78793f3)

> To prevent an unsafe abort when evaluating the function '*.__.DebugDisplay' all threads were allowed to run. This may have changed the state of the process and any breakpoints encountered have been skipped.

Wondering if anyone has seen this?

> Microsoft Visual Studio Community 2022 (64-bit) - Preview
> Version 17.13.0 Preview 2.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.