-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Cannot read property 'value' of undefined" when closing multiple terminals started by launch.json + F5 #52737
Comments
Also seeing this issue using 1.25.0 on Windows 10. In my case, I am seeing this using the following {
"version": "2.0.0",
"tasks": [
{
"identifier": "build:debug:anycpu",
"label": "Build (Debug - Any CPU)",
"group": "build",
"type": "shell",
"windows": {
"command": "xbuild"
},
"linux": {
"command": "msbuild"
},
"args": [
"/p:Configuration=Debug",
"/p:Platform='Any CPU'",
"Sharpcraft.sln"
],
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": false
},
"problemMatcher": "$msCompile"
},
{
"identifier": "build:debug:x86",
"label": "Build (Debug - x86)",
"group": "build",
"type": "shell",
"windows": {
"command": "xbuild"
},
"linux": {
"command": "msbuild"
},
"args": [
"/p:Configuration=Debug",
"/p:Platform=x86",
"Sharpcraft.sln"
],
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": false
},
"problemMatcher": "$msCompile"
},
{
"identifier": "build:debug:x64",
"label": "Build (Debug - x64)",
"group": "build",
"type": "shell",
"windows": {
"command": "xbuild"
},
"linux": {
"command": "msbuild"
},
"args": [
"/p:Configuration=Debug",
"/p:Platform=x64",
"Sharpcraft.sln"
],
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": false
},
"problemMatcher": "$msCompile"
},
{
"identifier": "build:release:anycpu",
"label": "Build (Release - Any CPU)",
"group": "build",
"type": "shell",
"windows": {
"command": "xbuild"
},
"linux": {
"command": "msbuild"
},
"args": [
"/p:Configuration=Release",
"/p:Platform='Any CPU'",
"Sharpcraft.sln"
],
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": false
},
"problemMatcher": "$msCompile"
},
{
"identifier": "build:release:x86",
"label": "Build (Release - x86)",
"group": "build",
"type": "shell",
"windows": {
"command": "xbuild"
},
"linux": {
"command": "msbuild"
},
"args": [
"/p:Configuration=Release",
"/p:Platform=x86",
"Sharpcraft.sln"
],
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": false
},
"problemMatcher": "$msCompile"
},
{
"identifier": "build:release:x64",
"label": "Build (Release - x64)",
"group": "build",
"type": "shell",
"windows": {
"command": "xbuild"
},
"linux": {
"command": "msbuild"
},
"args": [
"/p:Configuration=Release",
"/p:Platform=x64",
"Sharpcraft.sln"
],
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": false
},
"problemMatcher": "$msCompile"
},
{
"identifier": "build:debug",
"label": "Build (Debug)",
"group": {
"kind": "build",
"isDefault": true
},
"dependsOn": [
"build:debug:anycpu"
],
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": false
},
"problemMatcher": "$msCompile"
},
{
"identifier": "build:release",
"label": "Build (Release)",
"group": "build",
"dependsOn": [
"build:release:anycpu"
],
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": false
},
"problemMatcher": "$msCompile"
}
]
} Call stack (as found in the window log output) is as follows:
|
Seeing this as well on macOS 10.14.2 with VSCode 1.30.0, running a simple composite task:
The content of the script is as follows:
|
This looks more like a task issue. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Launch Client
in the debug menu. Two terminals are opened, one for watch:server and one for watch:client, as well as the new VSCode windowOutput
tab, Ex2 is shown, and Ex1 is seen in the developer toolsNotes:
If I open vscode extension host client multiple times, it naturally spawns 2*n terminals, as there are 2 watchers. Only every second terminal closed seems to cause the issue aka if I have 4 open, only the 2nd and 4th terminal closed will cause the issue, the order they were started in is irrelevant.
Ex1:
Ex2:
Ex3:
The text was updated successfully, but these errors were encountered: