--- a/DebugClients/Python3/BreakpointWatch.py Sun Jul 24 21:34:54 2016 +0200 +++ b/DebugClients/Python3/BreakpointWatch.py Wed Aug 03 21:41:40 2016 +0200 @@ -96,6 +96,15 @@ Breakpoint.breakInFrameCache.clear() @staticmethod + def clear_all_breaks(): + """ + Public method to clear all breakpoints. + """ + for bp in Breakpoint.breaks.copy(): + bp.deleteMe() + Breakpoint.breakInFrameCache.clear() + + @staticmethod def get_break(filename, lineno): """ Public method to get the breakpoint of a particular line. @@ -250,6 +259,13 @@ pass @staticmethod + def clear_all_watches(): + """ + Public method to clear all watch expressions. + """ + del Watch.watches[:] + + @staticmethod def get_watch(cond): """ Public method to get a watch expression.