Skip to content

Commit

Permalink
wip - 3
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Feb 18, 2024
1 parent 280e6f5 commit c240348
Show file tree
Hide file tree
Showing 7 changed files with 3,876 additions and 3,788 deletions.
1,090 changes: 545 additions & 545 deletions _pydevd_bundle/pydevd_cython.c

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion _pydevd_bundle/pydevd_cython.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,9 @@ def fix_top_level_trace_and_get_trace_func(py_db, frame):
if top_level_thread_tracer is None:
# Stop in some internal place to report about unhandled exceptions
top_level_thread_tracer = TopLevelThreadTracerOnlyUnhandledExceptions(args)
additional_info.top_level_thread_tracer_unhandled = top_level_thread_tracer # Hack for cython to keep it alive while the thread is alive (just the method in the SetTrace is not enough).
additional_info.top_level_thread_tracer_unhandled = (
top_level_thread_tracer
) # Hack for cython to keep it alive while the thread is alive (just the method in the SetTrace is not enough).

# print(' --> found to trace unhandled', f_unhandled.f_code.co_name, f_unhandled.f_code.co_filename, f_unhandled.f_code.co_firstlineno)
f_trace = top_level_thread_tracer.get_trace_dispatch_func()
Expand Down
3 changes: 3 additions & 0 deletions _pydevd_bundle/pydevd_dont_trace_files.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Important: Autogenerated file.

# fmt: off
# DO NOT edit manually!
# DO NOT edit manually!

Expand Down Expand Up @@ -172,3 +173,5 @@
DONT_TRACE['cp1252.py'] = LIB_FILE
DONT_TRACE['utf_8.py'] = LIB_FILE
DONT_TRACE['codecs.py'] = LIB_FILE

# fmt: on
4 changes: 3 additions & 1 deletion _pydevd_bundle/pydevd_trace_dispatch_regular.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ def fix_top_level_trace_and_get_trace_func(py_db, frame):
if top_level_thread_tracer is None:
# Stop in some internal place to report about unhandled exceptions
top_level_thread_tracer = TopLevelThreadTracerOnlyUnhandledExceptions(args)
additional_info.top_level_thread_tracer_unhandled = top_level_thread_tracer # Hack for cython to keep it alive while the thread is alive (just the method in the SetTrace is not enough).
additional_info.top_level_thread_tracer_unhandled = (
top_level_thread_tracer
) # Hack for cython to keep it alive while the thread is alive (just the method in the SetTrace is not enough).

# print(' --> found to trace unhandled', f_unhandled.f_code.co_name, f_unhandled.f_code.co_filename, f_unhandled.f_code.co_firstlineno)
f_trace = top_level_thread_tracer.get_trace_dispatch_func()
Expand Down
6,412 changes: 3,206 additions & 3,206 deletions _pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c

Large diffs are not rendered by default.

0 comments on commit c240348

Please sign in to comment.