(*args, **kwargs)
| 188 | if pydevd_breakpointhook is None: |
| 189 | |
| 190 | def pydevd_breakpointhook(*args, **kwargs): |
| 191 | hookname = os.getenv("PYTHONBREAKPOINT") |
| 192 | if ( |
| 193 | hookname is not None |
| 194 | and len(hookname) > 0 |
| 195 | and hasattr(sys, "__breakpointhook__") |
| 196 | and sys.__breakpointhook__ != pydevd_breakpointhook |
| 197 | ): |
| 198 | sys.__breakpointhook__(*args, **kwargs) |
| 199 | else: |
| 200 | settrace(*args, **kwargs) |
| 201 | |
| 202 | if sys.version_info[0:2] >= (3, 7): |
| 203 | # There are some choices on how to provide the breakpoint hook. Namely, we can provide a |
nothing calls this directly
no test coverage detected