MCPcopy Index your code
hub / github.com/ipython/ipython / stop_here

Method stop_here

IPython/core/debugger.py:1145–1180  ·  view source on GitHub ↗
(self, frame)

Source from the content-addressed store, hash-verified

1143 return False
1144
1145 def stop_here(self, frame):
1146 if self._is_in_decorator_internal_and_should_skip(frame) is True:
1147 return False
1148
1149 hidden = False
1150 if self.skip_hidden:
1151 hidden = self._hidden_predicate(frame)
1152 if hidden:
1153 if self.report_skipped:
1154 print(
1155 self.theme.format(
1156 [
1157 (
1158 Token.ExcName,
1159 " [... skipped 1 hidden frame(s)]",
1160 ),
1161 (Token, "\n"),
1162 ]
1163 )
1164 )
1165 if self.skip and self.is_skipped_module(frame.f_globals.get("__name__", "")):
1166 print(
1167 self.theme.format(
1168 [
1169 (
1170 Token.ExcName,
1171 " [... skipped 1 ignored module(s)]",
1172 ),
1173 (Token, "\n"),
1174 ]
1175 )
1176 )
1177
1178 return False
1179
1180 return super().stop_here(frame)
1181
1182 def do_up(self, arg):
1183 """u(p) [count]

Callers

nothing calls this directly

Calls 4

_hidden_predicateMethod · 0.95
getMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected