Skip to content

Running and Debugging IDE Code

Lincoln Atkinson edited this page Jan 12, 2015 · 1 revision

#Running and Debugging Visual F# IDE Code

To run custom builds of the Visual F# IDE components, follow the steps below. It is assumed that you have already built all components of the repo, as described in DEVGUIDE.md.

###Debugging VFSI

  • Open solution <root>\vsintegration\src\Deployment.sln
  • Set the project EnableOpenSource as Startup project
  • Set the build profile to VSDebug or VSRelease
  • Open the file vsintegration\src\vs\FsPkgs\FSharp.VS.FSI\fsiPackageHooks.fs
  • Put a breakpoint on the line 55 : `windowFrame.Show() |> throwOnFailure0
  • Press F5
  • Wait while a lot of compiling and deployment occurs
  • Create an F# console application in the newly-launched instance of Visual Studio
  • Open an FSI window using the menus: View -> Other Windows -> F# Interactive
  • Observe the yellow break point

This workflow should allow you to launch Visual Studio using private-built IDE bits. If these steps do not work, please open an issue so we can correct the problem.