Skip to main content

vsintegration-ide-debugging

Fix F# debugging issues (breakpoints, .pdb, sequence points). Build, run VS integration tests, inspect IL/PDB.

来源信息

仓库
dotnet/fsharp
最近来源活动
2026年3月13日 17:00
检测到的 SKILL.md 语言
英语
星标
4,347
Forks
883

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
vsintegration-ide-debugging
description
Fix F# debugging issues (breakpoints, .pdb, sequence points). Build, run VS integration tests, inspect IL/PDB.
# VS Integration Debugging ## Build `.\Build.cmd -c Debug` ## Run tests xUnit2 VS Extensibility — not `dotnet test`. ```powershell $runner = (Get-ChildItem "$env:NUGET_PACKAGES\xunit.runner.console" -Recurse -Filter xunit.console.exe | Where-Object { $_.FullName -like '*net472*' } | Select-Object -First 1).FullName & $runner artifacts\bin\FSharp.Editor.IntegrationTests\Debug\net472\FSharp.Editor.IntegrationTests.exe -parallel none -nologo ``` ## Key paths - Tests + infra: `vsintegration/tests/FSharp.Editor.IntegrationTests/` - Sequence point emit: `src/Compiler/CodeGen/IlxGen.fs` → `EmitDebugPoint`, `EnsureNopBetweenDebugPoints` - PDB writer: `src/Compiler/AbstractIL/ilwritepdb.fs` - Collection lowering: `src/Compiler/Optimize/LowerComputedCollections.fs` - Local compiler setup: `UseLocalCompiler.Directory.Build.props` ## Core rule VS debugger binds breakpoints only at **stack-empty** IL offsets. Move the sequence point — never add runtime instructions.
在 GitHub 查看