From a623d456ede676ca9af9f4ef1d3552dab8a95f8c Mon Sep 17 00:00:00 2001 From: fabioz Date: Mon, 28 Jan 2019 17:41:50 -0200 Subject: [PATCH] Remove breakpoints from all mappings. Fixes #1126 --- src/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_api.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_api.py b/src/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_api.py index cf53a13d9..1d625f083 100644 --- a/src/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_api.py +++ b/src/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_api.py @@ -290,7 +290,10 @@ def remove_all_breakpoints(self, py_db, filename): ''' changed = False for file_to_id_to_breakpoint in [ - py_db.file_to_id_to_line_breakpoint, py_db.file_to_id_to_plugin_breakpoint]: + py_db.file_to_id_to_line_breakpoint, + py_db.file_to_id_to_plugin_breakpoint, + py_db.file_to_id_to_plugin_breakpoint + ]: if filename == '*': if file_to_id_to_breakpoint: file_to_id_to_breakpoint.clear()