Skip to content

Commit ef5966d

Browse files
committed
update to latest version
1 parent 9c9b6b3 commit ef5966d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

pythonFiles/PythonTools/ptvsd/visualstudio_py_debugger.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -496,10 +496,10 @@ def is_handled(self, thread, ex_type, ex_value, trace):
496496
return False
497497

498498
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
503503

504504
cur_frame = trace.tb_frame
505505

@@ -1686,7 +1686,7 @@ class DebuggerLoop(object):
16861686

16871687
instance = None
16881688

1689-
def __init__(self, connrich_exceptions=False):
1689+
def __init__(self, conn, rich_exceptions=False):
16901690
DebuggerLoop.instance = self
16911691
self.conn = conn
16921692
self.repl_backend = None
@@ -2749,4 +2749,4 @@ def _get_template_line(frame):
27492749
return _offset_to_line_number(_read_file(file_name), source[1][0])
27502750
except:
27512751
return None
2752-
## End modification by Don Jayamanne
2752+
## End modification by Don Jayamanne

0 commit comments

Comments
 (0)