Skip to main content

vsintegration-ide-debugging

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

Source facts

Repository
dotnet/fsharp
Last source activity
March 13, 2026 at 17:00
Detected SKILL.md language
English
Stars
4,344
Forks
881

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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.
View on GitHub