Skip to main content

vsintegration-ide-debugging

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

Quellinformationen

Repository
dotnet/fsharp
Letzte Quellaktivität
13. März 2026 um 17:00
Erkannte Sprache von SKILL.md
Englisch
Sterne
4.344
Forks
881

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
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.
Auf GitHub ansehen