MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / sigint_handler

Method sigint_handler

tools/python-3.11.9-amd64/Lib/pdb.py:265–270  ·  view source on GitHub ↗
(self, signum, frame)

Source from the content-addressed store, hash-verified

263 # defining a list
264
265 def sigint_handler(self, signum, frame):
266 if self.allow_kbdint:
267 raise KeyboardInterrupt
268 self.message("\nProgram interrupted. (Use 'cont' to resume).")
269 self.set_step()
270 self.set_trace(frame)
271
272 def reset(self):
273 bdb.Bdb.reset(self)

Callers

nothing calls this directly

Calls 3

messageMethod · 0.95
set_stepMethod · 0.45
set_traceMethod · 0.45

Tested by

no test coverage detected