Skip to content

Cannot debug FSI with net core 7 in Visual Studio 2022 17.4.2 #14453

Closed

Description

@blfuentes

Repro steps:

  1. Create a F# project with net core 7

  2. Enable FSI script debugging and reset interactive session to make settings available
    image

  3. Create a .fsx file with some code:

  4. Set a breakpoint

  5. Select all , right click, debug in interactive

  6. Breakpoint shows "No symbols have been loaded for this document"
    image

  • Windows 11 22H2 22621.819
  • .net core 7.0.100
  • Visual Studio Enterprise 2022 17.4.2

Activity

  1. added this to the Backlog milestone on Dec 8, 2022
  2. added
    Area-Debug
    on Dec 8, 2022
  3. vzarytovskii commented on Dec 8, 2022

    @vzarytovskii
    Member

    I can see it in 17.5 too, explicit multiemit doesn't help. It seems something got broken along the way.

  4. KevinRansom commented on Dec 9, 2022

    @KevinRansom
    Contributor

    Looking at it.

  5. added
    Area-VS-FSI
    and removed on Dec 12, 2022
  6. moved this from Not Planned to In Progress in F# Compiler and Toolingon Jan 5, 2023
  7. KevinRansom commented on Jan 26, 2023

    @KevinRansom
    Contributor

    @blfuentes ,
    This is fixed in the VS 17.6 Preview 1.0, however, watch variables do not yet work, so it is not perfect.
    image

  8. blfuentes commented on Jan 27, 2023

    @blfuentes
    Author

    Thanks @KevinRansom for the amazing job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area-DebugArea-VS-FSIBug

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions