diff options
-rwxr-xr-x | Lib/pdb.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -117,8 +117,9 @@ class Pdb(bdb.Bdb, cmd.Cmd): def user_call(self, frame, argument_list): """This method is called when there is the remote possibility that we ever need to stop in this function.""" - print '--Call--' - self.interaction(frame, None) + if self.stop_here(frame): + print '--Call--' + self.interaction(frame, None) def user_line(self, frame): """This function is called when we stop or break at this line.""" |