Skip to content

When "Send to interactive" raises exception, the FSI prompt disappears #864

@abelbraaksma

Description

@abelbraaksma

Repro

  • Type a piece of code that raises an exception, say let x = 12/0
  • Right-click, select "Send to interactive" (or hit your key combination)
  • FSI will show exception, but will not show the prompt anymore

Occasionally this behavior cannot be observed the first time, but only after a few tries.

Just hitting Enter in the FSI window does not bring back the prompt.

Expected

The prompt should show. If you type the throwing code directly in FSI, it works as expected.

Actual

No prompt:
fsharp-bug-fsi

Severity

Low

Versions

Visual Studio 2012, 2013, 2015. F# 3.0, 4.0.

Workaround

Sending something else to FSI that is valid, will restore the prompt. Typing something in FSI (ignore there is no prompt) works as well.

I am not aware of a workaround that keeps the prompt intact at all times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions