(frame)
| 40 | |
| 41 | |
| 42 | def _get_stack_str(frame): |
| 43 | msg = ( |
| 44 | "\nIf this is needed, please check: " |
| 45 | + "\nhttp://pydev.blogspot.com/2007/06/why-cant-pydev-debugger-work-with.html" |
| 46 | + "\nto see how to restore the debug tracing back correctly.\n" |
| 47 | ) |
| 48 | |
| 49 | if TracingFunctionHolder._traceback_limit: |
| 50 | s = StringIO() |
| 51 | s.write("Call Location:\n") |
| 52 | traceback.print_stack(f=frame, limit=TracingFunctionHolder._traceback_limit, file=s) |
| 53 | msg = msg + s.getvalue() |
| 54 | |
| 55 | return msg |
| 56 | |
| 57 | |
| 58 | def _internal_set_trace(tracing_func): |
no test coverage detected