Skip to content

Commit

Permalink
Remove breakpoints from all mappings. Fixes microsoft#1126
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Jan 28, 2019
1 parent 26cc6b0 commit f4797fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.breakpoints
]:
if filename == '*':
if file_to_id_to_breakpoint:
file_to_id_to_breakpoint.clear()
Expand Down

0 comments on commit f4797fa

Please sign in to comment.