Start to refactor breakpoints into different types

This basically stores line breakpoints as a map by file name. Soon to
come: function breakpoints and others.
This commit is contained in:
Ben Jackson 2018-05-28 19:11:29 +01:00
commit 9baea25c46
5 changed files with 48 additions and 37 deletions

View file

@ -122,7 +122,8 @@ class StackTraceView( object ):
thread = self._line_to_thread[ current_line ]
if '_frames' in thread:
del thread[ '_frames' ]
self._DrawThreads()
with utils.RestoreCursorPosition():
self._DrawThreads()
else:
self._LoadStackTrace( thread, False )