{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/51302","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/51302/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/51302/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/51302/events","html_url":"https://github.com/Microsoft/vscode/issues/51302","id":330149725,"node_id":"MDU6SXNzdWUzMzAxNDk3MjU=","number":51302,"title":"\"custom request failed: Error: custom request failed\" when terminating debug session","user":{"login":"DanTup","id":1078012,"node_id":"MDQ6VXNlcjEwNzgwMTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1078012?v=4","gravatar_id":"","url":"https://api.github.com/users/DanTup","html_url":"https://github.com/DanTup","followers_url":"https://api.github.com/users/DanTup/followers","following_url":"https://api.github.com/users/DanTup/following{/other_user}","gists_url":"https://api.github.com/users/DanTup/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTup/subscriptions","organizations_url":"https://api.github.com/users/DanTup/orgs","repos_url":"https://api.github.com/users/DanTup/repos","events_url":"https://api.github.com/users/DanTup/events{/privacy}","received_events_url":"https://api.github.com/users/DanTup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-07T07:29:46Z","updated_at":"2018-06-07T07:29:52Z","closed_at":null,"author_association":"NONE","body":"When terminating my Dart debug sessions, I get this in the console:\r\n\r\n```\r\n  ERR custom request failed: Error: custom request failed\r\n    at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2888:190\r\n    at Object.g [as _notify] (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:149:807)\r\n    at Object.enter (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:153:592)\r\n    at n.Class.derive._oncancel._run (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:154:896)\r\n    at n.Class.derive._oncancel._error (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:154:413)\r\n    at n.Class.derive._oncancel.t.internalSend [as _oncancel] (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2460:177)\r\n    at n.Class.derive._oncancel._cancelAction (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:156:865)\r\n    at Object.enter (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:152:622)\r\n    at n.Class.derive._oncancel._run (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:154:896)\r\n    at n.Class.derive._oncancel.cancel (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:154:61)\r\n    at n.Class.derive._creator._cancelAction (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:155:175)\r\n    at Object.enter (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:152:622)\r\n    at n.Class.derive._creator._run (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:154:896)\r\n    at n.Class.derive._creator.cancel (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:154:61)\r\n    at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2462:836\r\n    at Array.forEach (native)\r\n    at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2462:804\r\n```\r\n\r\nI've put logging at the top of my DA's `customRequest` method and also all locations that send custom requests, but it doesn't appear that any of them are being called during termination when this happens, so I'm not sure how to debug further."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/395321424","html_url":"https://github.com/Microsoft/vscode/issues/51302#issuecomment-395321424","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/51302","id":395321424,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTMyMTQyNA==","user":{"login":"vscodebot[bot]","id":28792856,"node_id":"MDM6Qm90Mjg3OTI4NTY=","avatar_url":"https://avatars2.githubusercontent.com/in/2406?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodebot%5Bbot%5D","html_url":"https://github.com/apps/vscodebot","followers_url":"https://api.github.com/users/vscodebot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodebot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodebot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodebot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodebot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodebot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodebot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-07T07:29:52Z","updated_at":"2018-06-07T07:29:52Z","author_association":"NONE","body":"(Experimental duplicate detection)\nThanks for submitting this issue. Please also check if it is already covered by an existing one, like:\n- [TypeError: Cannot read property 'set' of undefined (#48496)](https://www.github.com/Microsoft/vscode/issues/48496) <!-- score: 0.846 -->\n- [TypeError: Cannot read property 'inputBox' of undefined (#48523)](https://www.github.com/Microsoft/vscode/issues/48523) <!-- score: 0.846 -->\n- [keyboard shortcuts editor opens up empty (#51109)](https://www.github.com/Microsoft/vscode/issues/51109) <!-- score: 0.818 -->\n- [TypeScript: occurrences request failed with error (#47470)](https://www.github.com/Microsoft/vscode/issues/47470) <!-- score: 0.806 -->\n- [Typescript services crash when opening JSX tags (#49170)](https://www.github.com/Microsoft/vscode/issues/49170) <!-- score: 0.704 -->\n<!-- potential_duplicates_comment -->"}}
{"actor":{"display_login":"vscodebot"}}