{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2982","repository_url":"https://api.github.com/repos/Microsoft/vscode-python","labels_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2982/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2982/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2982/events","html_url":"https://github.com/Microsoft/vscode-python/issues/2982","id":372760022,"node_id":"MDU6SXNzdWUzNzI3NjAwMjI=","number":2982,"title":"Python debugger crashes","user":{"login":"rtanase","id":1402704,"node_id":"MDQ6VXNlcjE0MDI3MDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1402704?v=4","gravatar_id":"","url":"https://api.github.com/users/rtanase","html_url":"https://github.com/rtanase","followers_url":"https://api.github.com/users/rtanase/followers","following_url":"https://api.github.com/users/rtanase/following{/other_user}","gists_url":"https://api.github.com/users/rtanase/gists{/gist_id}","starred_url":"https://api.github.com/users/rtanase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtanase/subscriptions","organizations_url":"https://api.github.com/users/rtanase/orgs","repos_url":"https://api.github.com/users/rtanase/repos","events_url":"https://api.github.com/users/rtanase/events{/privacy}","received_events_url":"https://api.github.com/users/rtanase/received_events","type":"User","site_admin":false},"labels":[{"id":717126847,"node_id":"MDU6TGFiZWw3MTcxMjY4NDc=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/feature-debugging","name":"feature-debugging","color":"006b75","default":false},{"id":925803966,"node_id":"MDU6TGFiZWw5MjU4MDM5NjY=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/needs%20upstream%20fix","name":"needs upstream fix","color":"fef2c0","default":false},{"id":716013197,"node_id":"MDU6TGFiZWw3MTYwMTMxOTc=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/type-bug","name":"type-bug","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":{"login":"brettcannon","id":54418,"node_id":"MDQ6VXNlcjU0NDE4","avatar_url":"https://avatars0.githubusercontent.com/u/54418?v=4","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false},"assignees":[{"login":"brettcannon","id":54418,"node_id":"MDQ6VXNlcjU0NDE4","avatar_url":"https://avatars0.githubusercontent.com/u/54418?v=4","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2018-10-23T01:03:04Z","updated_at":"2018-11-21T23:16:58Z","closed_at":null,"author_association":"NONE","body":"Issue Type: <b>Bug</b>\r\n```\r\nBackend TkAgg is interactive backend. Turning interactive mode on.\r\nTraceback (most recent call last):\r\n  File \"c:\\Users\\ratanase\\.vscode\\extensions\\ms-python.python-2018.9.0\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_vendored\\pydevd\\_pydevd_bundle\\pydevd_frame.py\", line 649, in trace_dispatch\r\n    self.do_wait_suspend(thread, frame, event, arg)\r\n  File \"c:\\Users\\ratanase\\.vscode\\extensions\\ms-python.python-2018.9.0\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_vendored\\pydevd\\_pydevd_bundle\\pydevd_frame.py\", line 134, in do_wait_suspend\r\n    self._args[0].do_wait_suspend(*args, **kwargs)\r\n  File \"c:\\Users\\ratanase\\.vscode\\extensions\\ms-python.python-2018.9.0\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_vendored\\pydevd\\pydevd.py\", line 819, in do_wait_suspend\r\n    self._activate_mpl_if_needed()\r\n  File \"c:\\Users\\ratanase\\.vscode\\extensions\\ms-python.python-2018.9.0\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_vendored\\pydevd\\pydevd.py\", line 442, in _activate_mpl_if_needed\r\n    activate_function = self.mpl_modules_for_patching.pop(module)\r\nKeyError: 'matplotlib.pyplot'\r\nTraceback (most recent call last):\r\n  File \"c:\\Users\\ratanase\\.vscode\\extensions\\ms-python.python-2018.9.0\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_vendored\\pydevd\\_pydevd_bundle\\pydevd_trace_dispatch_regular.py\", line 316, in __call__\r\n    ).trace_dispatch(frame, event, arg)\r\n  File \"c:\\Users\\ratanase\\.vscode\\extensions\\ms-python.python-2018.9.0\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_vendored\\pydevd\\_pydevd_bundle\\pydevd_frame.py\", line 649, in trace_dispatch\r\n    self.do_wait_suspend(thread, frame, event, arg)\r\n  File \"c:\\Users\\ratanase\\.vscode\\extensions\\ms-python.python-2018.9.0\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_vendored\\pydevd\\_pydevd_bundle\\pydevd_frame.py\", line 134, in do_wait_suspend\r\n    self._args[0].do_wait_suspend(*args, **kwargs)\r\n  File \"c:\\Users\\ratanase\\.vscode\\extensions\\ms-python.python-2018.9.0\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_vendored\\pydevd\\pydevd.py\", line 819, in do_wait_suspend\r\n    self._activate_mpl_if_needed()\r\n  File \"c:\\Users\\ratanase\\.vscode\\extensions\\ms-python.python-2018.9.0\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_vendored\\pydevd\\pydevd.py\", line 442, in _activate_mpl_if_needed\r\n    activate_function = self.mpl_modules_for_patching.pop(module)\r\nKeyError: 'matplotlib.pyplot'\r\n```\r\n\r\nVS Code version: Code 1.28.1 (3368db6750222d319c851f6d90eb619d886e08f5, 2018-10-11T18:13:53.910Z)\r\nOS version: Windows_NT x64 10.0.17763\r\n\r\n<details>\r\n<summary>System Info</summary>\r\n\r\n|Item|Value|\r\n|---|---|\r\n|CPUs|Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 x 3600)|\r\n|GPU Status|2d_canvas: enabled<br>checker_imaging: disabled_off<br>flash_3d: enabled<br>flash_stage3d: enabled<br>flash_stage3d_baseline: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>native_gpu_memory_buffers: disabled_software<br>rasterization: enabled<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled|\r\n|Memory (System)|47.79GB (29.09GB free)|\r\n|Process Argv||\r\n|Screen Reader|no|\r\n|VM|0%|\r\n\r\n</details><details><summary>Extensions (19)</summary>\r\n\r\nExtension|Author (truncated)|Version\r\n---|---|---\r\ngitdiffer|aag|0.0.3\r\nscope-bar|amo|0.1.0\r\nvscode-python-docstring|aza|0.0.5\r\njupyter|don|1.1.4\r\nxml|Dot|2.3.2\r\ngitlens|eam|8.5.6\r\ncompareit|in4|0.0.2\r\nvscode-line-endings|jha|0.1.0\r\nnbpreviewer|jit|1.0.0\r\nbinary-viewer|mom|0.0.1\r\npython|ms-|2018.9.1\r\ncsharp|ms-|1.16.2\r\nPowerShell|ms-|1.9.0\r\nautodocstring|njp|0.2.3\r\npartial-diff|ryu|1.4.0\r\ngit-merger|sha|0.4.1\r\nvscodeintellicode|Vis|1.0.5\r\nmarkdown-all-in-one|yzh|1.6.2\r\nt4-support|zbe|0.4.2\r\n\r\n\r\n</details>\r\n<!-- generated by issue reporter -->"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/comments/440845648","html_url":"https://github.com/Microsoft/vscode-python/issues/2982#issuecomment-440845648","issue_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2982","id":440845648,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDg0NTY0OA==","user":{"login":"nojvek","id":1018196,"node_id":"MDQ6VXNlcjEwMTgxOTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1018196?v=4","gravatar_id":"","url":"https://api.github.com/users/nojvek","html_url":"https://github.com/nojvek","followers_url":"https://api.github.com/users/nojvek/followers","following_url":"https://api.github.com/users/nojvek/following{/other_user}","gists_url":"https://api.github.com/users/nojvek/gists{/gist_id}","starred_url":"https://api.github.com/users/nojvek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nojvek/subscriptions","organizations_url":"https://api.github.com/users/nojvek/orgs","repos_url":"https://api.github.com/users/nojvek/repos","events_url":"https://api.github.com/users/nojvek/events{/privacy}","received_events_url":"https://api.github.com/users/nojvek/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T23:16:58Z","updated_at":"2018-11-21T23:16:58Z","author_association":"NONE","body":"I'm seeing the debugger constantly crash for remote debugging. It used to work a while back.\r\n\r\nHere's the log\r\n\r\n```\r\nFrom Client:\r\nContent-Length: 313\r\n\r\n{\"command\":\"initialize\",\"arguments\":{\"clientID\":\"vscode\",\"clientName\":\"Visual Studio Code\",\"adapterID\":\"python\",\"pathFormat\":\"path\",\"linesStartAt1\":true,\"columnsStartAt1\":true,\"supportsVariableType\":true,\"supportsVariablePaging\":true,\"supportsRunInTerminalRequest\":true,\"locale\":\"en-us\"},\"type\":\"request\",\"seq\":1}\r\nTo Client:\r\nContent-Length: 687\r\n\r\n{\"seq\":1,\"type\":\"response\",\"request_seq\":1,\"command\":\"initialize\",\"success\":true,\"body\":{\"supportsExceptionInfoRequest\":true,\"supportsConfigurationDoneRequest\":true,\"supportsConditionalBreakpoints\":true,\"supportsSetVariable\":true,\"supportsExceptionOptions\":true,\"supportsEvaluateForHovers\":true,\"supportsModulesRequest\":true,\"supportsValueFormattingOptions\":true,\"supportsHitConditionalBreakpoints\":true,\"supportsSetExpression\":true,\"supportsLogPoints\":true,\"supportTerminateDebuggee\":true,\"supportsCompletionsRequest\":true,\"exceptionBreakpointFilters\":[{\"filter\":\"raised\",\"label\":\"Raised Exceptions\",\"default\":false},{\"filter\":\"uncaught\",\"label\":\"Uncaught Exceptions\",\"default\":true}]}}\r\nFrom Client:\r\nContent-Length: 518\r\n\r\n{\"command\":\"attach\",\"arguments\":{\"name\":\"Python Attach (Remote Debug)\",\"type\":\"python\",\"request\":\"attach\",\"localRoot\":\"/Users/nojvek/mp/blah\",\"remoteRoot\":\"/home/noj/blah\",\"port\":8123,\"secret\":\"blah\",\"host\":\"localhost\",\"logToFile\":true,\"debugOptions\":[\"RedirectOutput\",\"UnixClient\"],\"workspaceFolder\":\"/Users/nojvek/mp/blah\",\"pathMappings\":[{\"localRoot\":\"/Users/nojvek/mp/blah\",\"remoteRoot\":\"/home/noj/blah\"}],\"__sessionId\":\"8dbc4f04-43f3-4e85-a5a7-58b13de1b732\"},\"type\":\"request\",\"seq\":2}\r\nTo Client:\r\nContent-Length: 518\r\n\r\n\r\nTo Client:\r\n{\"command\":\"attach\",\"arguments\":{\"name\":\"Python Attach (Remote Debug)\",\"type\":\"python\",\"request\":\"attach\",\"localRoot\":\"/Users/nojvek/mp/blah\",\"remoteRoot\":\"/home/noj/blah\",\"port\":8123,\"secret\":\"blah\",\"host\":\"localhost\",\"logToFile\":true,\"debugOptions\":[\"RedirectOutput\",\"UnixClient\"],\"workspaceFolder\":\"/Users/nojvek/mp/blah\",\"pathMappings\":[{\"localRoot\":\"/Users/nojvek/mp/blah\",\"remoteRoot\":\"/home/noj/blah\"}],\"__sessionId\":\"8dbc4f04-43f3-4e85-a5a7-58b13de1b732\"},\"type\":\"request\",\"seq\":2}\r\nTo Client:\r\nContent-Length: 313\r\n\r\n\r\nTo Client:\r\n{\"command\":\"initialize\",\"arguments\":{\"clientID\":\"vscode\",\"clientName\":\"Visual Studio Code\",\"adapterID\":\"python\",\"pathFormat\":\"path\",\"linesStartAt1\":true,\"columnsStartAt1\":true,\"supportsVariableType\":true,\"supportsVariablePaging\":true,\"supportsRunInTerminalRequest\":true,\"locale\":\"en-us\"},\"type\":\"request\",\"seq\":1}\r\nTo Client:\r\nPTVSDBG\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0006\r\nSocket End\r\ncheck and shutdown\r\nshutdown\r\nSending Terminated Event\r\nTo Client:\r\nContent-Length: 45\r\n\r\n\r\nTo Client:\r\n{\"seq\":0,\"type\":\"event\",\"event\":\"terminated\"}\r\nShutting down debug session\r\ndisposing\r\n```"}}
{"actor":{"display_login":"nojvek"}}