(self)
| 1269 | return int(self._gdbval) |
| 1270 | |
| 1271 | def print_traceback(self): |
| 1272 | if self.is_optimized_out(): |
| 1273 | sys.stdout.write(' %s\n' % FRAME_INFO_OPTIMIZED_OUT) |
| 1274 | return |
| 1275 | visited = set() |
| 1276 | lineno = self.current_line_num() |
| 1277 | lineno = str(lineno) if lineno is not None else "?" |
| 1278 | sys.stdout.write(' File "%s", line %s, in %s\n' |
| 1279 | % (self.co_filename.proxyval(visited), |
| 1280 | lineno, |
| 1281 | self.co_name.proxyval(visited))) |
| 1282 | |
| 1283 | def print_traceback_until_shim(self, frame_index=None): |
| 1284 | # Print traceback for _PyInterpreterFrame and return previous frame |
no test coverage detected