GeezerVison is showing github.com — update to latest version · keyombin/vscode-python@ef5966d
File tree
Expand file treeCollapse file tree
Open diff view settings
pythonFiles/PythonTools/ptvsd
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: pythonFiles/PythonTools/ptvsd/visualstudio_py_debugger.py +6-6Lines changed: 6 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -496,10 +496,10 @@ def is_handled(self, thread, ex_type, ex_value, trace): |
496 | 496 | return False |
497 | 497 |
|
498 | 498 | if trace.tb_next is not None: |
499 | | - if should_send_frame(trace.tb_next.tb_frame) and should_debug_code(trace.tb_next.tb_frame.f_code): |
500 | | - # don't break if this is not the top of the traceback, |
501 | | - # unless the previous frame was not debuggable |
502 | | - return True |
| 499 | + if should_send_frame(trace.tb_next.tb_frame) and should_debug_code(trace.tb_next.tb_frame.f_code): |
| 500 | + # don't break if this is not the top of the traceback, |
| 501 | + # unless the previous frame was not debuggable |
| 502 | + return True |
503 | 503 |
|
504 | 504 | cur_frame = trace.tb_frame |
505 | 505 |
|
@@ -1686,7 +1686,7 @@ class DebuggerLoop(object): |
1686 | 1686 |
|
1687 | 1687 | instance = None |
1688 | 1688 |
|
1689 | | - def __init__(self, connrich_exceptions=False): |
| 1689 | + def __init__(self, conn, rich_exceptions=False): |
1690 | 1690 | DebuggerLoop.instance = self |
1691 | 1691 | self.conn = conn |
1692 | 1692 | self.repl_backend = None |
@@ -2749,4 +2749,4 @@ def _get_template_line(frame): |
2749 | 2749 | return _offset_to_line_number(_read_file(file_name), source[1][0]) |
2750 | 2750 | except: |
2751 | 2751 | return None |
2752 | | -## End modification by Don Jayamanne |
| 2752 | +## End modification by Don Jayamanne |