vscode-azurefunctions icon indicating copy to clipboard operation
vscode-azurefunctions copied to clipboard

An error "timeout after 1000 ms" occurs after executing stop debugging for a PowerShell project

Open v-ruizh opened this issue 4 years ago • 17 comments

OS: Mac Build Version: 20200603.1

Repro Steps:

  1. Create a PowerShell project with HttpTrigger function.
  2. Debug it and then stop debugging when hitting to an unset breakpoint.
  3. Check the result.

Expect: Stop debugging successfully without any error.

Actual: An error "timeout after 1000 ms" occurs after executing stop debugging. image

More info: This issue does not reproduce for C#/JavaScript/TypeScript/Python projects.

v-ruizh avatar Jun 04 '20 08:06 v-ruizh

@v-ruizh does this only repro on Mac? Also - does this happen consistently?

ejizba avatar Jun 08 '20 21:06 ejizba

i get the same notification under windows, i think it comes from here:

image

it happens when stopping a debug session (remote ssh, gdb via ms-vscode.cpptools v0.28.3) it doesnt always happen, only when the server is a bit slow

Version: 1.46.0 (system setup) Commit: a5d1cc28bb5da32ec67e86cc50f84c67cc690321 Date: 2020-06-10T09:03:20.462Z Electron: 7.3.1 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Windows_NT x64 10.0.19041

RYDB3RG avatar Jun 11 '20 07:06 RYDB3RG

@EricJizbaMSFT This issue also reproduces on Windows, not verify it on Linux. We can reproduce it consistently.

v-ruizh avatar Jun 15 '20 09:06 v-ruizh

Same here! Windows 10.

sebastianzolg avatar Jun 29 '20 14:06 sebastianzolg

Same for me when I restart a Node project

notAutomne avatar Jul 13 '20 13:07 notAutomne

Same here. It started happening for me in just the past few weeks. On Windows with a nodejs project.

ewrayjohnson avatar Jul 28 '20 06:07 ewrayjohnson

Found a few issues indicating this is an upstream issue in VS Code:

https://github.com/microsoft/vscode/issues/97013

https://github.com/microsoft/vscode/issues/103105

ejizba avatar Jul 30 '20 21:07 ejizba

+1 This started for me about 3 weeks ago.

dorsiflector avatar Aug 03 '20 14:08 dorsiflector

Fyi we pushed a fix for this in VS Code. More details here https://github.com/microsoft/vscode/issues/103105#issuecomment-672016137

isidorn avatar Aug 11 '20 15:08 isidorn

I get the same error!

wsh3776 avatar Aug 20 '20 14:08 wsh3776

@meteorsh the fix should be in VS Code Insiders https://code.visualstudio.com/insiders/

ejizba avatar Aug 20 '20 16:08 ejizba

@EricJizbaMSFT

VS Code Insiders fresh installed on flutter debugger image

image image

Stukz avatar Aug 21 '20 22:08 Stukz

I tried removing .cpuprofile files from Temp and it worked fine for quite a bit but gets stuck every few days .

nikimullick avatar Aug 25 '20 02:08 nikimullick

I tried removing .cpuprofile files from Temp and it worked fine for quite a bit but gets stuck every few days .

@nikimullick could you please share the full path to that temp folder? it's macOS?

Stukz avatar Aug 25 '20 15:08 Stukz

No idea about macOS

On Tue, Aug 25, 2020, 9:19 PM Stukz [email protected] wrote:

I tried removing .cpuprofile files from Temp and it worked fine for quite a bit but gets stuck every few days .

@nikimullick https://github.com/nikimullick could you please share the full path to that temp folder? it's macOS?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-azurefunctions/issues/2143#issuecomment-680109179, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAD6LERTIXQMX7JD23M6NDSCPMPTANCNFSM4NSMY6SA .

nikimullick avatar Aug 26 '20 14:08 nikimullick

Seems like we did not fix it properly in vs code after all. Let me investigate more on our side.

isidorn avatar Aug 26 '20 15:08 isidorn

Same problem when restart debugging (shift+ctrl+F5). Early all was fine, (django project debugging)

Sergey51 avatar Sep 09 '20 13:09 Sergey51