Home icon indicating copy to clipboard operation
Home copied to clipboard

VS COM Exclusion does not work as expected

Open networkfusion opened this issue 3 years ago • 0 comments

Tool

Visual Studio extension

Description

When using a USB (FTDI) device that has highly specific serial commands, having the nF VS extension can interfere with it and make communications impossible,

It seems like the "exclusion list" is ignored (see screenshot) and underlying cause is due to https://github.com/nanoframework/nf-debugger/blob/b272fe68c3dd3536115641b0a27ddf8b2982a51f/nanoFramework.Tools.DebugLibrary.Shared/PortSerial/PortSerialManager.cs#L190 (or something calling it without checking first).

Possibily due to CheckValidNanoFrameworkSerialDevice without checking exclusionlist first.

How to reproduce

Add a device to the exclusion list e.g. COM15 Plug it in Unplug it Plug it in check output window for messages like[NanoDevices: checking device COM15 *** 2nd attempt ***]

Expected behaviour

The VS extension output window shows that the "serial port" was ignored.

Screenshots

image

Aditional context

VS2022 - 17.2.6

NOTE, this could cause developers of other systems to add issues against other repos.

networkfusion avatar Aug 02 '22 01:08 networkfusion