From 879886548ed5bd3b60ee5b293ef0ba552c3d9790 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Thu, 31 Oct 2013 16:35:54 -0700 Subject: [PATCH] Highlight set_trace() like a breakpoint when its status changes Unfortunately, I'm not sure how to make it highlight initially, because I'm not sure how to communicate that information from the debugger to the UI. --- pudb/debugger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pudb/debugger.py b/pudb/debugger.py index 58ec63c..c466e88 100644 --- a/pudb/debugger.py +++ b/pudb/debugger.py @@ -1050,6 +1050,7 @@ class DebuggerUI(FrameVarInfoKeeper): file_lineno = (bp_source_identifier, lineno) if file_lineno in self.debugger.set_traces: self.debugger.set_traces[file_lineno] = not self.debugger.set_traces[file_lineno] + sline.set_breakpoint(self.debugger.set_traces[file_lineno]) return from pudb.lowlevel import get_breakpoint_invalid_reason