Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VS Code Ext 2.0.0] Extension attempts to start debugging when deployment fails #786

Open
NevynUK opened this issue Oct 8, 2024 · 0 comments

Comments

@NevynUK
Copy link

NevynUK commented Oct 8, 2024

Deploying an application caused a timeout part way through the file deployment sequence. It looks like a sequence of files should have been deployed but a time out part way through the sequence was caught and debugging was started.

So the system failed deploying System.Configuration.dll:

Sending file: /Users/markstevens/GitHub/WildernessLabs/PersonalRepository/BlinkyF7/bin/Debug/netstandard2.1/postlink_bin/System.Configuration.dll
Command timeout waiting for response.
An error occurred during the App deployment process.
Error:
Command timeout waiting for response. 
Stack Trace :
   at Meadow.CLI.Core.Devices.MeadowLocalDevice.WaitForResponseMessageAsync(Command command, CancellationToken cancellationToken, String caller) in D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\Meadow.CLI\Meadow.CLI.Core\Devices\MeadowLocalDevice.Comms.cs:line 423
   at Meadow.CLI.Core.Devices.MeadowLocalDevice.SendCommand(Command command, CancellationToken cancellationToken, String caller) in D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\Meadow.CLI\Meadow.CLI.Core\Devices\MeadowLocalDevice.Comms.cs:line 223
   at Meadow.CLI.Core.Devices.MeadowLocalDevice.SendTheEntireFile(FileCommand command, Boolean lastInSeries, CancellationToken cancellationToken) in D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\Meadow.CLI\Meadow.CLI.Core\Devices\MeadowLocalDevice.Comms.cs:line 30
   at Meadow.CLI.Core.Devices.MeadowLocalDevice.WriteFile(String sourceFileName, String destinationFileName, TimeSpan timeout, CancellationToken cancellationToken) in D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\Meadow.CLI\Meadow.CLI.Core\Devices\MeadowLocalDevice.FileManager.cs:line 158
   at Meadow.CLI.Core.Devices.MeadowLocalDevice.DeployApp(String applicationFilePath, String osVersion, Boolean includePdbs, Boolean verbose, IList`1 noLink, CancellationToken cancellationToken) in D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\Meadow.CLI\Meadow.CLI.Core\Devices\MeadowLocalDevice.FileManager.cs:line 734
 Mono is disabled
 Runtime disabled - restarting Meadow
Connecting to Meadow on /dev/tty.usbmodem3359336E30361

Resetting the board and VS Code and then running a new debug session picked up the need to deploy System.Configuration.dll and a number of other files.

Board F7 V2.c
OS: 1.15.0.0
Extension 2.0.0

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

No branches or pull requests

4 participants