Adding this in line with "stopCommands" and "exitCommands" so that we can run commands at the end of the debugging session.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
I don't know if terminate is the best name, as it could seem related to the inferior. What about finalize? It reminds me of the try/catch/finalize words, and it's harder to associate it with the inferior's own exit event.
lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py | ||
---|---|---|
49–67 | why did you add these? | |
lldb/tools/lldb-vscode/lldb-vscode.cpp | ||
2873–2876 | Instead of having to invoke the terminate commands from two different places, what about executing them here? That way you can guarantee that they will be executed for sure and they won' be executed twice (I'm still not certain that your two call sites are mutually exclusive) |
I chose the name terminate because this happens just before the terminated event is sent back to the client.
lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py | ||
---|---|---|
49–67 | oops, forgot to undo this. | |
lldb/tools/lldb-vscode/lldb-vscode.cpp | ||
2873–2876 | I followed the same design as the exit commands. This event is not only sent when lldb-vscode is terminated, it's when the debugging session terminates and the terminate event is sent back to the client. A new debugging session can be initiated afterwards using the same lldb-vscode connection. |
I gotta say I don't understand the difference between "exit" and "terminate" commands, as both seem to happen pretty at once. Is the difference that "exit" commands are run only when the inferior exits freely on its own, and not when we forcefully kill it? And that "terminate" cmds are run in both cases?
If you say that they are useful, then sure, I don't see a reason to not do this, though it seems to me like this will be confusing, and would be worth documenting somewhere. Maybe in that json file (I forgot where it's stored) which defines the protocol extensions used by lldb-vscode?
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py | ||
---|---|---|
250–252 | What's the purpose of this argument? To ensure a clean shutdown? Would it be possible to make the function smart enough to detect the right thing to do when cleaning up? | |
lldb/tools/lldb-vscode/lldb-vscode.cpp | ||
777 | How about moving this to line ~801 so that it is sent *after* the inferior is killed, similar to how you above perform the commands after receiving the exit event? |
I gotta say I don't understand the difference between "exit" and "terminate" commands, as both seem to happen pretty at once. Is the difference that "exit" commands are run only when the inferior exits freely on its own, and not when we forcefully kill it? And that "terminate" cmds are run in both cases?
Yeah, just like said, the exit event (and commands) only happen when the program normally exits (with an exit code). However, I want to run commands when the debugging session is over, which might not necessarily mean the debuggee has ended (forcefully or not), only that we stopped debugging it. My main goal is to collect stats of the debugging session that has just ended.
If you say that they are useful, then sure, I don't see a reason to not do this, though it seems to me like this will be confusing, and would be worth documenting somewhere. Maybe in that json file (I forgot where it's stored) which defines the protocol extensions used by lldb-vscode?
Ah yes, I'll add that to the package.json definition of the extension and also the README.md.
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py | ||
---|---|---|
250–252 | I meant the disconnect argument to the attach function in the test suite , not the terminateDebuggee argument of the disconnect command to lldb-vscode. My point is that, given the way the cleanup functions work, you cannot assume that you're going to be invoked in any particular moment. For example they can called if an assertion fails, to ensure any external resources/processes are terminated. Since you don't know which assertion will fail, it's best if you don't assume anything about the the state of the inferior and just do your best to clean up. I'm not sure what "doing your best" would mean here. For example it may mean sending a "terminate" request and ignoring errors. Or maybe a better solution is possible... |
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py | ||
---|---|---|
250–252 | oh yeah of course, the argument I added 😅. Oh, you know what, I misread when the cleanup function was going to be called. I don't need this at all, will remove it. |
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py | ||
---|---|---|
250–252 | sorry about this, I remember now (I've been working on something else not related to this when I replied). I did it this way so I can explicitly say that I don't want the test to automatically disconnect when it's teared down. I need to disconnect manually so I can test the terminateCommands, and and 2 disconnects won't work well because we'll be waiting for that answer that will never arrive, since it has already been terminated. Another way to do this, that I thought at the time, was to track if the test is connected or not and only disconnect in that situation. I opted to not do that in the end because I wanted this behaviour to be intentional in the test, to prevent something from disconnecting (unintentionally, like a bug) and then the teardown will skip it and that error would never be surfaced. This might be a bit overzealous though... what do you think? |
Aha, intereseting. So the "exit" commands would not run if we detach from the process, but the "terminate" commands still would. That makes sense to me.
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py | ||
---|---|---|
250–252 | Yeah, I think it would be better if this tracked when it is necessary to terminate the child automatically, or just sent the terminate request blindly (ignoring errors). The main purpose of the clean up commands is to "clean up" after the test, generating an exception here can just prevent other cleanups from happening. That said, I don't think this is too important. |
Updated README.md, package.json to document the new option. Also refactored the test support a bit to allow easier testing.
lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py | ||
---|---|---|
451 | The expression parser can be quite involved even for simple things like this. Might be better to do something simpler? | |
lldb/tools/lldb-vscode/README.md | ||
88 ↗ | (On Diff #264143) | Might be good to clarify something like: These commands will only be executed if the process exists or is killed. These commands will not run if you disconnect from the process. |
89 ↗ | (On Diff #264143) | might be good to clarify something like: These commands will be executed after receiving the 'terminate' VS Code DAP packet but before sending the 'terminate' response. |
115 ↗ | (On Diff #264143) | Ditto on "exitCommands" clarification from above. |
116 ↗ | (On Diff #264143) | Ditto on "terminateCommands" clarification from above. |
lldb/tools/lldb-vscode/lldb-vscode.cpp | ||
2876 | You can't do this here the VS code connection will already be closed. We need the 'terminateCommands' output to be sent back to vs code. |
Unfortunately I've had to revert this because it was making a number of vscode tests hang nondeterministically: http://lab.llvm.org:8011/builders/lldb-x86_64-debian/builds/10557, http://lab.llvm.org:8011/builders/lldb-x86_64-debian/builds/10545, http://lab.llvm.org:8011/builders/lldb-x86_64-debian/builds/10544, http://lab.llvm.org:8011/builders/lldb-x86_64-debian/builds/10537, http://lab.llvm.org:8011/builders/lldb-x86_64-debian/builds/10533, http://lab.llvm.org:8011/builders/lldb-x86_64-debian/builds/10530.
It seems that the python process driving lldb-vscode gets stuck during teardown waiting for a reply to the "disconnect" packet. lldb-vscode has already exited at that point. Here's a stack trace of the python process in this stuck state (the line numbers extracted by gdb don't seem to add up completely, but the function names are quite believable):
(gdb) bt #0 0x00007f1462739364 in do_futex_wait.constprop () from /lib64/libpthread.so.0 #1 0x00007f1462739458 in __new_sem_wait_slow.constprop.0 () from /lib64/libpthread.so.0 #2 0x00007f1462b0ab76 in PyThread_acquire_lock_timed (lock=0x555fa3b20740, microseconds=-1000000, intr_flag=1) at Python/thread_pthread.h:459 #3 0x00007f1462b7865e in acquire_timed (lock=0x555fa3b20740, timeout=-1000000000) at ./Modules/_threadmodule.c:63 #4 0x00007f1462b788e1 in lock_PyThread_acquire_lock (self=0x7f1456b453c0, args=(), kwds=0x0) at ./Modules/_threadmodule.c:146 #5 0x00007f14629aa239 in method_vectorcall_VARARGS_KEYWORDS (func=<method_descriptor at remote 0x7f1461e59c20>, args=0x555fa3b29518, nargsf=9223372036854775809, kwnames=0x0) at Objects/descrobject.c:332 #6 0x00007f1462a96c8b in _PyObject_Vectorcall (callable=<method_descriptor at remote 0x7f1461e59c20>, args=0x555fa3b29518, nargsf=9223372036854775809, kwnames=0x0) at ./Include/cpython/abstract.h:127 #7 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169a16d0, oparg=1, kwnames=0x0) at Python/ceval.c:4987 #8 0x00007f1462aa47c5 in _PyEval_EvalFrameDefault ( f=Frame 0x555fa3b29380, for file /usr/lib/python3.8/threading.py, line 302, in wait (self=<Condition(_lock=<_thread.RLock at remote 0x7f1456a4d750>, acquire=<built-in method acquire of _thread.RLock object at remote 0x7f1456a4d750>, release=<built-in method release of _thread.RLock object at remote 0x7f1456a4d750>, _release_save=<built-in method _release_save of _thread.RLock object at remote 0x7f1456a4d750>, _acquire_restore=<built-in method _acquire_restore of _thread.RLock object at remote 0x7f1456a4d750>, _is_owned=<built-in method _is_owned of _thread.RLock object at remote 0x7f1456a4d750>, _waiters=<collections.deque at remote 0x7f1456a55ac0>) at remote 0x7f1456a4d550>, timeout=None, waiter=<_thread.lock at remote 0x7f1456b453c0>, saved_state=(1, 139725526402880), gotit=False), throwflag=0) at Python/ceval.c:3486 #9 0x00007f1462a98877 in PyEval_EvalFrameEx ( f=Frame 0x555fa3b29380, for file /usr/lib/python3.8/threading.py, line 302, in wait (self=<Condition(_lock=<_thread.RLock at remote 0x7f1456a4d750>, acquire=<built-in method acquire of _thread.RLock object at remote 0x7f1456a4d750>, release=<built-in method release of _thread.RLock object at remote 0x7f1456a4d750>, _release_save=<built-in method _release_save of _thread.RLock object at remote 0x7f1456a4d750>, _acquire_restore=<built-in method _acquire_restore of _thread.RLock object at remote 0x7f1456a4d750>, _is_owned=<built-in method _is_owned of _thread.RLock object at remote 0x7f1456a4d750>, _waiters=<collections.deque at remote 0x7f1456a55ac0>) at remote 0x7f1456a4d550>, timeout=None, waiter=<_thread.lock at remote 0x7f1456b453c0>, saved_state=(1, 139725526402880), gotit=False), throwflag=0) at Python/ceval.c:741 #10 0x00007f1462aa7829 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7f1461b680e0>, globals={'__name__': 'threading', '__doc__': "Thread module emulating a subset of Java's threading model.", '__package__': '', '__loader__': <SourceFileLoader(name='threading', path='/usr/lib/python3.8/threading.py') at remote 0x7f1461b5cbe0>, '__spec__': <ModuleSpec(name='threading', loader=<...>, origin='/usr/lib/python3.8/threading.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/usr/lib/python3.8/__pycache__/threading.cpython-38.pyc', _initializing=False) at remote 0x7f1461b5cb50>, '__file__': '/usr/lib/python3.8/threading.py', '__cached__': '/usr/lib/python3.8/__pycache__/threading.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x555fa36b03c0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x555fa36b03c0>, origin=None, loader_state=None, submodule_search_loc...(truncated), locals=0x0, args=0x555fa39e6b90, argcount=2, kwnames=0x0, kwargs=0x555fa39e6ba0, kwcount=0, kwstep=1, defs=0x7f1461b6a058, defcount=1, kwdefs=0x0, closure=0x0, name='wait', qualname='Condition.wait') at Python/ceval.c:4298 #11 0x00007f146299e947 in _PyFunction_Vectorcall (func=<function at remote 0x7f1461b67f70>, stack=0x555fa39e6b90, nargsf=9223372036854775810, kwnames=0x0) at Objects/call.c:435 #12 0x00007f1462a96c8b in _PyObject_Vectorcall (callable=<function at remote 0x7f1461b67f70>, args=0x555fa39e6b90, nargsf=9223372036854775810, kwnames=0x0) at ./Include/cpython/abstract.h:127 #13 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169a2aa0, oparg=2, kwnames=0x0) at Python/ceval.c:4987 #14 0x00007f1462aa47c5 in _PyEval_EvalFrameDefault ( f=Frame 0x555fa39e69d0, for file mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py, line 787, in recv_packet (self=<DebugAdaptor(process=<Popen(_waitpid_lock=<_thread.lock at remote 0x7f1456a4d690>, _input=None, _communication_started=False, args=['build/opt/bin/lldb-vscode'], stdin=<_io.BufferedWriter at remote 0x7f1456a6beb0>, stdout=<_io.BufferedReader at remote 0x7f1456a70040>, stderr=<_io.BufferedReader at remote 0x7f1456a70300>, pid=24978, returncode=None, encoding=None, errors=None, text_mode=None, _sigint_wait_secs=<float at remote 0x7f1461c7ce90>, _closed_child_pipe_fds=True, _child_created=True) at remote 0x7f1456a4d580>, trace_file=None, send=<_io.BufferedWriter at remote 0x7f1456a6beb0>, recv=<_io.BufferedReader at remote 0x7f1456a70040>, recv_packets=[{'body': {'exitCode': 9}, 'event': 'exited', 'seq': 0, 'type': 'event'}, {'event': 'terminated', 'seq': 0, 'type': 'event'}], recv_condition=<Condition(_lock=<_thread.RLock at remote 0x7f1456a4d750>, ...(truncated), throwflag=0) at Python/ceval.c:3486 #15 0x00007f1462a98877 in PyEval_EvalFrameEx ( f=Frame 0x555fa39e69d0, for file mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py, line 787, in recv_packet (self=<DebugAdaptor(process=<Popen(_waitpid_lock=<_thread.lock at remote 0x7f1456a4d690>, _input=None, _communication_started=False, args=['build/opt/bin/lldb-vscode'], stdin=<_io.BufferedWriter at remote 0x7f1456a6beb0>, stdout=<_io.BufferedReader at remote 0x7f1456a70040>, stderr=<_io.BufferedReader at remote 0x7f1456a70300>, pid=24978, returncode=None, encoding=None, errors=None, text_mode=None, _sigint_wait_secs=<float at remote 0x7f1461c7ce90>, _closed_child_pipe_fds=True, _child_created=True) at remote 0x7f1456a4d580>, trace_file=None, send=<_io.BufferedWriter at remote 0x7f1456a6beb0>, recv=<_io.BufferedReader at remote 0x7f1456a70040>, recv_packets=[{'body': {'exitCode': 9}, 'event': 'exited', 'seq': 0, 'type': 'event'}, {'event': 'terminated', 'seq': 0, 'type': 'event'}], recv_condition=<Condition(_lock=<_thread.RLock at remote 0x7f1456a4d750>, ...(truncated), throwflag=0) at Python/ceval.c:741 #16 0x00007f1462aa7829 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7f14610fc240>, globals={'__name__': 'vscode', '__doc__': None, '__package__': '', '__loader__': <SourceFileLoader(name='vscode', path='mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py') at remote 0x7f1456b28b80>, '__spec__': <ModuleSpec(name='vscode', loader=<...>, origin='mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/__pycache__/vscode.cpython-38.pyc', _initializing=False) at remote 0x7f1456b28b20>, '__file__': 'mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py', '__cached__': 'mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/__pycache__/vscode.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", ...(truncated), locals=0x0, args=0x555fa3b2bff0, argcount=1, kwnames=0x7f1456b28c88, kwargs=0x555fa3b2bff8, kwcount=1, kwstep=1, defs=0x7f1456ac8598, defcount=3, kwdefs=0x0, closure=0x0, name='recv_packet', qualname='DebugCommunication.recv_packet') at Python/ceval.c:4298 #17 0x00007f146299e947 in _PyFunction_Vectorcall (func=<function at remote 0x7f1456afbc10>, stack=0x555fa3b2bff0, nargsf=1, kwnames=('filter_type',)) at Objects/call.c:435 #18 0x00007f14629a1e0a in _PyObject_Vectorcall (callable=<function at remote 0x7f1456afbc10>, args=0x555fa3b2bff0, nargsf=1, kwnames=('filter_type',)) at ./Include/cpython/abstract.h:127 #19 0x00007f14629a2070 in method_vectorcall (method=<method at remote 0x7f145620bfc0>, args=0x555fa3b2bff8, nargsf=9223372036854775808, kwnames=('filter_type',)) at Objects/classobject.c:60 #20 0x00007f1462a96c8b in _PyObject_Vectorcall (callable=<method at remote 0x7f145620bfc0>, args=0x555fa3b2bff8, nargsf=9223372036854775808, kwnames=('filter_type',)) at ./Include/cpython/abstract.h:127 #21 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169a3f80, oparg=1, kwnames=('filter_type',)) at Python/ceval.c:4987 #22 0x00007f1462aa4a48 in _PyEval_EvalFrameDefault ( f=Frame 0x555fa3b2be60, for file mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py, line 295, in send_recv (self=<DebugAdaptor(process=<Popen(_waitpid_lock=<_thread.lock at remote 0x7f1456a4d690>, _input=None, _communication_started=False, args=['build/opt/bin/lldb-vscode'], stdin=<_io.BufferedWriter at remote 0x7f1456a6beb0>, stdout=<_io.BufferedReader at remote 0x7f1456a70040>, stderr=<_io.BufferedReader at remote 0x7f1456a70300>, pid=24978, returncode=None, encoding=None, errors=None, text_mode=None, _sigint_wait_secs=<float at remote 0x7f1461c7ce90>, _closed_child_pipe_fds=True, _child_created=True) at remote 0x7f1456a4d580>, trace_file=None, send=<_io.BufferedWriter at remote 0x7f1456a6beb0>, recv=<_io.BufferedReader at remote 0x7f1456a70040>, recv_packets=[{'body': {'exitCode': 9}, 'event': 'exited', 'seq': 0, 'type': 'event'}, {'event': 'terminated', 'seq': 0, 'type': 'event'}], recv_condition=<Condition(_lock=<_thread.RLock at remote 0x7f1456a4d750>, ac...(truncated), throwflag=0) at Python/ceval.c:3515 #23 0x00007f1462a98877 in PyEval_EvalFrameEx ( --Type <RET> for more, q to quit, c to continue without paging-- f=Frame 0x555fa3b2be60, for file mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py, line 295, in send_recv (self=<DebugAdaptor(process=<Popen(_waitpid_lock=<_thread.lock at remote 0x7f1456a4d690>, _input=None, _communication_started=False, args=['build/opt/bin/lldb-vscode'], stdin=<_io.BufferedWriter at remote 0x7f1456a6beb0>, stdout=<_io.BufferedReader at remote 0x7f1456a70040>, stderr=<_io.BufferedReader at remote 0x7f1456a70300>, pid=24978, returncode=None, encoding=None, errors=None, text_mode=None, _sigint_wait_secs=<float at remote 0x7f1461c7ce90>, _closed_child_pipe_fds=True, _child_created=True) at remote 0x7f1456a4d580>, trace_file=None, send=<_io.BufferedWriter at remote 0x7f1456a6beb0>, recv=<_io.BufferedReader at remote 0x7f1456a70040>, recv_packets=[{'body': {'exitCode': 9}, 'event': 'exited', 'seq': 0, 'type': 'event'}, {'event': 'terminated', 'seq': 0, 'type': 'event'}], recv_condition=<Condition(_lock=<_thread.RLock at remote 0x7f1456a4d750>, ac...(truncated), throwflag=0) at Python/ceval.c:741 #24 0x00007f146299e386 in function_code_fastcall (co=0x7f1456b1b9d0, args=0x7f1456a77fe0, nargs=2, globals={'__name__': 'vscode', '__doc__': None, '__package__': '', '__loader__': <SourceFileLoader(name='vscode', path='mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py') at remote 0x7f1456b28b80>, '__spec__': <ModuleSpec(name='vscode', loader=<...>, origin='mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/__pycache__/vscode.cpython-38.pyc', _initializing=False) at remote 0x7f1456b28b20>, '__file__': 'mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py', '__cached__': 'mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/__pycache__/vscode.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", ...(truncated)) at Objects/call.c:283 #25 0x00007f146299e823 in _PyFunction_Vectorcall (func=<function at remote 0x7f1456afbca0>, stack=0x7f1456a77fd0, nargsf=9223372036854775810, kwnames=0x0) at Objects/call.c:410 #26 0x00007f1462a96c8b in _PyObject_Vectorcall (callable=<function at remote 0x7f1456afbca0>, args=0x7f1456a77fd0, nargsf=9223372036854775810, kwnames=0x0) at ./Include/cpython/abstract.h:127 #27 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169a51a0, oparg=2, kwnames=0x0) at Python/ceval.c:4987 #28 0x00007f1462aa47c5 in _PyEval_EvalFrameDefault ( f=Frame 0x7f1456a77e40, for file mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py, line 804, in request_disconnect (self=<DebugAdaptor(process=<Popen(_waitpid_lock=<_thread.lock at remote 0x7f1456a4d690>, _input=None, _communication_started=False, args=['build/opt/bin/lldb-vscode'], stdin=<_io.BufferedWriter at remote 0x7f1456a6beb0>, stdout=<_io.BufferedReader at remote 0x7f1456a70040>, stderr=<_io.BufferedReader at remote 0x7f1456a70300>, pid=24978, returncode=None, encoding=None, errors=None, text_mode=None, _sigint_wait_secs=<float at remote 0x7f1461c7ce90>, _closed_child_pipe_fds=True, _child_created=True) at remote 0x7f1456a4d580>, trace_file=None, send=<_io.BufferedWriter at remote 0x7f1456a6beb0>, recv=<_io.BufferedReader at remote 0x7f1456a70040>, recv_packets=[{'body': {'exitCode': 9}, 'event': 'exited', 'seq': 0, 'type': 'event'}, {'event': 'terminated', 'seq': 0, 'type': 'event'}], recv_condition=<Condition(_lock=<_thread.RLock at remote 0x7f1456a4...(truncated), throwflag=0) at Python/ceval.c:3486 #29 0x00007f1462a98877 in PyEval_EvalFrameEx ( f=Frame 0x7f1456a77e40, for file mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py, line 804, in request_disconnect (self=<DebugAdaptor(process=<Popen(_waitpid_lock=<_thread.lock at remote 0x7f1456a4d690>, _input=None, _communication_started=False, args=['build/opt/bin/lldb-vscode'], stdin=<_io.BufferedWriter at remote 0x7f1456a6beb0>, stdout=<_io.BufferedReader at remote 0x7f1456a70040>, stderr=<_io.BufferedReader at remote 0x7f1456a70300>, pid=24978, returncode=None, encoding=None, errors=None, text_mode=None, _sigint_wait_secs=<float at remote 0x7f1461c7ce90>, _closed_child_pipe_fds=True, _child_created=True) at remote 0x7f1456a4d580>, trace_file=None, send=<_io.BufferedWriter at remote 0x7f1456a6beb0>, recv=<_io.BufferedReader at remote 0x7f1456a70040>, recv_packets=[{'body': {'exitCode': 9}, 'event': 'exited', 'seq': 0, 'type': 'event'}, {'event': 'terminated', 'seq': 0, 'type': 'event'}], recv_condition=<Condition(_lock=<_thread.RLock at remote 0x7f1456a4...(truncated), throwflag=0) at Python/ceval.c:741 #30 0x00007f1462aa7829 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7f1456b427c0>, globals={'__name__': 'vscode', '__doc__': None, '__package__': '', '__loader__': <SourceFileLoader(name='vscode', path='mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py') at remote 0x7f1456b28b80>, '__spec__': <ModuleSpec(name='vscode', loader=<...>, origin='mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/__pycache__/vscode.cpython-38.pyc', _initializing=False) at remote 0x7f1456b28b20>, '__file__': 'mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py', '__cached__': 'mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/__pycache__/vscode.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", ...(truncated), locals=0x0, args=0x7f1456a76350, argcount=1, kwnames=0x7f1456a82298, kwargs=0x7f1456a76358, kwcount=1, kwstep=1, defs=0x7f1456b452c8, defcount=1, kwdefs=0x0, closure=0x0, name='request_disconnect', qualname='DebugCommunication.request_disconnect') at Python/ceval.c:4298 #31 0x00007f146299e947 in _PyFunction_Vectorcall (func=<function at remote 0x7f1456afc790>, stack=0x7f1456a76350, nargsf=1, kwnames=('terminateDebuggee',)) at Objects/call.c:435 #32 0x00007f14629a1e0a in _PyObject_Vectorcall (callable=<function at remote 0x7f1456afc790>, args=0x7f1456a76350, nargsf=1, kwnames=('terminateDebuggee',)) at ./Include/cpython/abstract.h:127 #33 0x00007f14629a2070 in method_vectorcall (method=<method at remote 0x7f1456a65140>, args=0x7f1456a76358, nargsf=9223372036854775808, kwnames=('terminateDebuggee',)) at Objects/classobject.c:60 #34 0x00007f1462a96c8b in _PyObject_Vectorcall (callable=<method at remote 0x7f1456a65140>, args=0x7f1456a76358, nargsf=9223372036854775808, kwnames=('terminateDebuggee',)) at ./Include/cpython/abstract.h:127 #35 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169a6680, oparg=1, kwnames=('terminateDebuggee',)) at Python/ceval.c:4987 #36 0x00007f1462aa4a48 in _PyEval_EvalFrameDefault (f=Frame 0x7f1456a761e0, for file mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py, line 285, in cleanup (), throwflag=0) at Python/ceval.c:3515 #37 0x00007f1462a98877 in PyEval_EvalFrameEx (f=Frame 0x7f1456a761e0, for file mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py, line 285, in cleanup (), throwflag=0) at Python/ceval.c:741 #38 0x00007f1462aa7829 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7f1456a472f0>, globals={'__name__': 'lldbvscode_testcase', '__doc__': None, '__package__': '', '__loader__': <SourceFileLoader(name='lldbvscode_testcase', path='mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py') at remote 0x7f1456a93df0>, '__spec__': <ModuleSpec(name='lldbvscode_testcase', loader=<...>, origin='mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/__pycache__/lldbvscode_testcase.cpython-38.pyc', _initializing=False) at remote 0x7f1456ab6970>, '__file__': 'mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py', '__cached__': 'mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/__pycache__/lldbvscode_testcase.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, excepti...(truncated), locals=0x0, args=0x7f14561f51d8, argcount=0, kwnames=0x0, kwargs=0x7f14561f51d8, kwcount=0, kwstep=1, defs=0x0, defcount=0, kwdefs=0x0, closure=(<cell at remote 0x7f1456a4df70>,), name='cleanup', qualname='VSCodeTestCaseBase.launch.<locals>.cleanup') at Python/ceval.c:4298 #39 0x00007f146299e947 in _PyFunction_Vectorcall (func=<function at remote 0x7f1456a6e4c0>, stack=0x7f14561f51d8, nargsf=9223372036854775808, kwnames=0x0) at Objects/call.c:435 #40 0x00007f1462a96c8b in _PyObject_Vectorcall (callable=<function at remote 0x7f1456a6e4c0>, args=0x7f14561f51d8, nargsf=9223372036854775808, kwnames=0x0) at ./Include/cpython/abstract.h:127 #41 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169a7a48, oparg=0, kwnames=0x0) at Python/ceval.c:4987 #42 0x00007f1462aa48f9 in _PyEval_EvalFrameDefault ( f=Frame 0x7f14561f5040, for file mono/lldb/packages/Python/lldbsuite/test/lldbtest.py, line 1272, in tearDown (self=<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_...(truncated), throwflag=0) at Python/ceval.c:3500 #43 0x00007f1462a98877 in PyEval_EvalFrameEx ( f=Frame 0x7f14561f5040, for file mono/lldb/packages/Python/lldbsuite/test/lldbtest.py, line 1272, in tearDown (self=<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTe--Type <RET> for more, q to quit, c to continue without paging-- stResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_...(truncated), throwflag=0) at Python/ceval.c:741 #44 0x00007f146299e386 in function_code_fastcall (co=0x7f1456a97030, args=0x7f145620f758, nargs=1, globals={'__name__': 'lldbsuite.test.lldbtest', '__doc__': "\nLLDB module which provides the abstract base class of lldb test case.\n\nThe concrete subclass can override lldbtest.TestBase in order to inherit the\ncommon behavior for unitest.TestCase.setUp/tearDown implemented in this file.\n\nThe subclass should override the attribute mydir in order for the python runtime\nto locate the individual test cases when running as part of a large test suite\nor when running each test case as a separate python invocation.\n\n./dotest.py provides a test driver which sets up the environment to run the\nentire of part of the test suite . Example:\n\n# Exercises the test suite in the types directory....\n/Volumes/data/lldb/svn/ToT/test $ ./dotest.py -A x86_64 types\n...\n\nSession logs for test failures/errors/unexpected successes will go into directory '2012-05-16-13_35_42'\nCommand invoked: python ./dotest.py -A x86_64 types\ncompilers=['clang']\n\nConfiguration: arch=x86_64 compiler=clang\n-----------------------------------...(truncated)) at Objects/call.c:283 #45 0x00007f146299e823 in _PyFunction_Vectorcall (func=<function at remote 0x7f1456a41940>, stack=0x7f145620f750, nargsf=9223372036854775809, kwnames=0x0) at Objects/call.c:410 #46 0x00007f1462a96c8b in _PyObject_Vectorcall (callable=<function at remote 0x7f1456a41940>, args=0x7f145620f750, nargsf=9223372036854775809, kwnames=0x0) at ./Include/cpython/abstract.h:127 #47 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169a8c70, oparg=1, kwnames=0x0) at Python/ceval.c:4987 #48 0x00007f1462aa477f in _PyEval_EvalFrameDefault ( f=Frame 0x7f145620f5b0, for file mono/lldb/packages/Python/lldbsuite/test/lldbtest.py, line 2011, in tearDown (self=<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_...(truncated), throwflag=0) at Python/ceval.c:3469 #49 0x00007f1462a98877 in PyEval_EvalFrameEx ( f=Frame 0x7f145620f5b0, for file mono/lldb/packages/Python/lldbsuite/test/lldbtest.py, line 2011, in tearDown (self=<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_...(truncated), throwflag=0) at Python/ceval.c:741 #50 0x00007f146299e386 in function_code_fastcall (co=0x7f1456aa60e0, args=0x555fa39e9b58, nargs=1, globals={'__name__': 'lldbsuite.test.lldbtest', '__doc__': "\nLLDB module which provides the abstract base class of lldb test case.\n\nThe concrete subclass can override lldbtest.TestBase in order to inherit the\ncommon behavior for unitest.TestCase.setUp/tearDown implemented in this file.\n\nThe subclass should override the attribute mydir in order for the python runtime\nto locate the individual test cases when running as part of a large test suite\nor when running each test case as a separate python invocation.\n\n./dotest.py provides a test driver which sets up the environment to run the\nentire of part of the test suite . Example:\n\n# Exercises the test suite in the types directory....\n/Volumes/data/lldb/svn/ToT/test $ ./dotest.py -A x86_64 types\n...\n\nSession logs for test failures/errors/unexpected successes will go into directory '2012-05-16-13_35_42'\nCommand invoked: python ./dotest.py -A x86_64 types\ncompilers=['clang']\n\nConfiguration: arch=x86_64 compiler=clang\n-----------------------------------...(truncated)) at Objects/call.c:283 #51 0x00007f146299e823 in _PyFunction_Vectorcall (func=<function at remote 0x7f1456a43940>, stack=0x555fa39e9b50, nargsf=9223372036854775809, kwnames=0x0) at Objects/call.c:410 #52 0x00007f1462a96c8b in _PyObject_Vectorcall (callable=<function at remote 0x7f1456a43940>, args=0x555fa39e9b50, nargsf=9223372036854775809, kwnames=0x0) at ./Include/cpython/abstract.h:127 #53 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169a9ea0, oparg=1, kwnames=0x0) at Python/ceval.c:4987 #54 0x00007f1462aa47c5 in _PyEval_EvalFrameDefault ( f=Frame 0x555fa39e9990, for file mono/lldb/third_party/Python/module/unittest2/unittest2/case.py, line 1410, in run (self=<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestV...(truncated), throwflag=0) at Python/ceval.c:3486 #55 0x00007f1462a98877 in PyEval_EvalFrameEx ( f=Frame 0x555fa39e9990, for file mono/lldb/third_party/Python/module/unittest2/unittest2/case.py, line 1410, in run (self=<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestV...(truncated), throwflag=0) at Python/ceval.c:741 #56 0x00007f1462aa7829 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7f14613fcea0>, globals={'__name__': 'unittest2.case', '__doc__': 'Test case implementation', '__package__': 'unittest2', '__loader__': <SourceFileLoader(name='unittest2.case', path='mono/lldb/third_party/Python/module/unittest2/unittest2/case.py') at remote 0x7f146140f7c0>, '__spec__': <ModuleSpec(name='unittest2.case', loader=<...>, origin='mono/lldb/third_party/Python/module/unittest2/unittest2/case.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/case.cpython-38.pyc', _initializing=False) at remote 0x7f146140f790>, '__file__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/case.py', '__cached__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/case.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis ...(truncated), locals=0x0, args=0x7ffc169ab0b0, argcount=2, kwnames=0x0, kwargs=0x7ffc169ab0c0, kwcount=0, kwstep=1, defs=0x7f1461400568, defcount=1, kwdefs=0x0, closure=0x0, name='run', qualname='TestCase.run') at Python/ceval.c:4298 #57 0x00007f146299e947 in _PyFunction_Vectorcall (func=<function at remote 0x7f1461391670>, stack=0x7ffc169ab0b0, nargsf=2, kwnames=0x0) at Objects/call.c:435 #58 0x00007f14629a1e0a in _PyObject_Vectorcall (callable=<function at remote 0x7f1461391670>, args=0x7ffc169ab0b0, nargsf=2, kwnames=0x0) at ./Include/cpython/abstract.h:127 #59 0x00007f14629a216e in method_vectorcall (method=<method at remote 0x7f14619ebc80>, args=0x7f1456a4d0e8, nargsf=1, kwnames=0x0) at Objects/classobject.c:89 #60 0x00007f146299dffa in PyVectorcall_Call (callable=<method at remote 0x7f14619ebc80>, tuple=(<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote --Type <RET> for more, q to quit, c to continue without paging-- 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_called=False, started_tests_by_worker={}, result_events={}, test_method_rerun_count=0, lock=<_threa...(truncated), kwargs={}) at Objects/call.c:199 #61 0x00007f146299e0f6 in PyObject_Call (callable=<method at remote 0x7f14619ebc80>, args=(<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_called=False, started_tests_by_worker={}, result_events={}, test_method_rerun_count=0, lock=<_threa...(truncated), kwargs={}) at Objects/call.c:227 #62 0x00007f1462aa9822 in do_call_core (tstate=0x555fa369c860, func=<method at remote 0x7f14619ebc80>, callargs=(<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_called=False, started_tests_by_worker={}, result_events={}, test_method_rerun_count=0, lock=<_threa...(truncated), kwdict={}) at Python/ceval.c:5034 #63 0x00007f1462aa4d77 in _PyEval_EvalFrameDefault ( f=Frame 0x7f1456a5b3a0, for file mono/lldb/third_party/Python/module/unittest2/unittest2/case.py, line 458, in __call__ (self=<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'T...(truncated), throwflag=0) at Python/ceval.c:3559 #64 0x00007f1462a98877 in PyEval_EvalFrameEx ( f=Frame 0x7f1456a5b3a0, for file mono/lldb/third_party/Python/module/unittest2/unittest2/case.py, line 458, in __call__ (self=<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'T...(truncated), throwflag=0) at Python/ceval.c:741 #65 0x00007f1462aa7829 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7f14613fd0e0>, globals={'__name__': 'unittest2.case', '__doc__': 'Test case implementation', '__package__': 'unittest2', '__loader__': <SourceFileLoader(name='unittest2.case', path='mono/lldb/third_party/Python/module/unittest2/unittest2/case.py') at remote 0x7f146140f7c0>, '__spec__': <ModuleSpec(name='unittest2.case', loader=<...>, origin='mono/lldb/third_party/Python/module/unittest2/unittest2/case.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/case.cpython-38.pyc', _initializing=False) at remote 0x7f146140f790>, '__file__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/case.py', '__cached__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/case.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis ...(truncated), locals=0x0, args=0x7ffc169ac5f0, argcount=2, kwnames=0x0, kwargs=0x7ffc169ac600, kwcount=0, kwstep=1, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name='__call__', qualname='TestCase.__call__') at Python/ceval.c:4298 #66 0x00007f146299e947 in _PyFunction_Vectorcall (func=<function at remote 0x7f1461391820>, stack=0x7ffc169ac5f0, nargsf=2, kwnames=0x0) at Objects/call.c:435 #67 0x00007f146299db39 in _PyObject_FastCallDict (callable=<function at remote 0x7f1461391820>, args=0x7ffc169ac5f0, nargsf=2, kwargs=0x0) at Objects/call.c:96 #68 0x00007f146299f8a8 in _PyObject_Call_Prepend (callable=<function at remote 0x7f1461391820>, obj=<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_calle...(truncated), args=(<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_called=False, started_tests_by_worker={}, result_events={}, test_method_rerun_count=0, lock=<_threa...(truncated), kwargs=0x0) at Objects/call.c:887 #69 0x00007f1462a17c64 in slot_tp_call ( self=<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_calle...(truncated), args=(<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_called=False, started_tests_by_worker={}, result_events={}, test_method_rerun_count=0, lock=<_threa...(truncated), kwds=0x0) at Objects/typeobject.c:6521 #70 0x00007f146299ddec in _PyObject_MakeTpCall ( --Type <RET> for more, q to quit, c to continue without paging-- callable=<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_calle...(truncated), args=0x7f1456a5c3a8, nargs=1, keywords=0x0) at Objects/call.c:159 #71 0x00007f1462a96c6f in _PyObject_Vectorcall ( callable=<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_calle...(truncated), args=0x7f1456a5c3a8, nargsf=9223372036854775809, kwnames=0x0) at ./Include/cpython/abstract.h:125 #72 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169ac988, oparg=1, kwnames=0x0) at Python/ceval.c:4987 #73 0x00007f1462aa48f9 in _PyEval_EvalFrameDefault ( f=Frame 0x7f1456a5c210, for file mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py, line 373, in _wrapped_run (self=<TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False...(truncated), throwflag=0) at Python/ceval.c:3500 #74 0x00007f1462a98877 in PyEval_EvalFrameEx ( f=Frame 0x7f1456a5c210, for file mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py, line 373, in _wrapped_run (self=<TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False...(truncated), throwflag=0) at Python/ceval.c:741 #75 0x00007f1462aa7829 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7f146138ef50>, globals={'__name__': 'unittest2.suite', '__doc__': 'TestSuite', '__package__': 'unittest2', '__loader__': <SourceFileLoader(name='unittest2.suite', path='mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py') at remote 0x7f14613f7730>, '__spec__': <ModuleSpec(name='unittest2.suite', loader=<...>, origin='mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/suite.cpython-38.pyc', _initializing=False) at remote 0x7f1461409cd0>, '__file__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py', '__cached__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/suite.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represe...(truncated), locals=0x0, args=0x7f1456ad3e88, argcount=3, kwnames=0x0, kwargs=0x7f1456ad3ea0, kwcount=0, kwstep=1, defs=0x7f1461394148, defcount=1, kwdefs=0x0, closure=0x0, name='_wrapped_run', qualname='TestSuite._wrapped_run') at Python/ceval.c:4298 #76 0x00007f146299e947 in _PyFunction_Vectorcall (func=<function at remote 0x7f1461399280>, stack=0x7f1456ad3e88, nargsf=9223372036854775811, kwnames=0x0) at Objects/call.c:435 #77 0x00007f1462a96c8b in _PyObject_Vectorcall (callable=<function at remote 0x7f1461399280>, args=0x7f1456ad3e88, nargsf=9223372036854775811, kwnames=0x0) at ./Include/cpython/abstract.h:127 #78 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169add50, oparg=3, kwnames=0x0) at Python/ceval.c:4987 #79 0x00007f1462aa47c5 in _PyEval_EvalFrameDefault ( f=Frame 0x7f1456ad3cf0, for file mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py, line 371, in _wrapped_run (self=<TestSuite(_tests=[<TestSuite(_tests=[]) at remote 0x7f1456b28730>, <TestSuite(_tests=[]) at remote 0x7f1456b289a0>, <TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrap...(truncated), throwflag=0) at Python/ceval.c:3486 #80 0x00007f1462a98877 in PyEval_EvalFrameEx ( f=Frame 0x7f1456ad3cf0, for file mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py, line 371, in _wrapped_run (self=<TestSuite(_tests=[<TestSuite(_tests=[]) at remote 0x7f1456b28730>, <TestSuite(_tests=[]) at remote 0x7f1456b289a0>, <TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrap...(truncated), throwflag=0) at Python/ceval.c:741 #81 0x00007f1462aa7829 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7f146138ef50>, globals={'__name__': 'unittest2.suite', '__doc__': 'TestSuite', '__package__': 'unittest2', '__loader__': <SourceFileLoader(name='unittest2.suite', path='mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py') at remote 0x7f14613f7730>, '__spec__': <ModuleSpec(name='unittest2.suite', loader=<...>, origin='mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/suite.cpython-38.pyc', _initializing=False) at remote 0x7f1461409cd0>, '__file__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py', '__cached__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/suite.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represe...(truncated), locals=0x0, args=0x7f1456a5b1c0, argcount=2, kwnames=0x0, kwargs=0x7f1456a5b1d0, kwcount=0, kwstep=1, defs=0x7f1461394148, defcount=1, kwdefs=0x0, closure=0x0, name='_wrapped_run', qualname='TestSuite._wrapped_run') at Python/ceval.c:4298 #82 0x00007f146299e947 in _PyFunction_Vectorcall (func=<function at remote 0x7f1461399280>, stack=0x7f1456a5b1c0, nargsf=9223372036854775810, kwnames=0x0) at Objects/call.c:435 #83 0x00007f1462a96c8b in _PyObject_Vectorcall (callable=<function at remote 0x7f1461399280>, args=0x7f1456a5b1c0, nargsf=9223372036854775810, kwnames=0x0) at ./Include/cpython/abstract.h:127 #84 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169af120, oparg=2, kwnames=0x0) at Python/ceval.c:4987 #85 0x00007f1462aa47c5 in _PyEval_EvalFrameDefault ( f=Frame 0x7f1456a5b040, for file mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py, line 85, in run (self=<TestSuite(_tests=[<TestSuite(_tests=[]) at remote 0x7f1456b28730>, <TestSuite(_tests=[]) at remote 0x7f1456b289a0>, <TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skippe--Type <RET> for more, q to quit, c to continue without paging-- d=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at rem...(truncated), throwflag=0) at Python/ceval.c:3486 #86 0x00007f1462a98877 in PyEval_EvalFrameEx ( f=Frame 0x7f1456a5b040, for file mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py, line 85, in run (self=<TestSuite(_tests=[<TestSuite(_tests=[]) at remote 0x7f1456b28730>, <TestSuite(_tests=[]) at remote 0x7f1456b289a0>, <TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at rem...(truncated), throwflag=0) at Python/ceval.c:741 #87 0x00007f146299e386 in function_code_fastcall (co=0x7f146138edf0, args=0x7ffc169b01a0, nargs=2, globals={'__name__': 'unittest2.suite', '__doc__': 'TestSuite', '__package__': 'unittest2', '__loader__': <SourceFileLoader(name='unittest2.suite', path='mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py') at remote 0x7f14613f7730>, '__spec__': <ModuleSpec(name='unittest2.suite', loader=<...>, origin='mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/suite.cpython-38.pyc', _initializing=False) at remote 0x7f1461409cd0>, '__file__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py', '__cached__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/suite.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represe...(truncated)) at Objects/call.c:283 #88 0x00007f146299e823 in _PyFunction_Vectorcall (func=<function at remote 0x7f1461399160>, stack=0x7ffc169b0190, nargsf=2, kwnames=0x0) at Objects/call.c:410 #89 0x00007f14629a1e0a in _PyObject_Vectorcall (callable=<function at remote 0x7f1461399160>, args=0x7ffc169b0190, nargsf=2, kwnames=0x0) at ./Include/cpython/abstract.h:127 #90 0x00007f14629a216e in method_vectorcall (method=<method at remote 0x7f1461aa9640>, args=0x7f1456b28838, nargsf=1, kwnames=0x0) at Objects/classobject.c:89 #91 0x00007f146299dffa in PyVectorcall_Call (callable=<method at remote 0x7f1461aa9640>, tuple=(<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_called=False, started_tests_by_worker={}, result_events={}, test_method_rerun_count=0, lock=<_threa...(truncated), kwargs={}) at Objects/call.c:199 #92 0x00007f146299e0f6 in PyObject_Call (callable=<method at remote 0x7f1461aa9640>, args=(<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_called=False, started_tests_by_worker={}, result_events={}, test_method_rerun_count=0, lock=<_threa...(truncated), kwargs={}) at Objects/call.c:227 #93 0x00007f1462aa9822 in do_call_core (tstate=0x555fa369c860, func=<method at remote 0x7f1461aa9640>, callargs=(<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_called=False, started_tests_by_worker={}, result_events={}, test_method_rerun_count=0, lock=<_threa...(truncated), kwdict={}) at Python/ceval.c:5034 #94 0x00007f1462aa4d77 in _PyEval_EvalFrameDefault ( f=Frame 0x7f1461211dc0, for file mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py, line 66, in __call__ (self=<TestSuite(_tests=[<TestSuite(_tests=[]) at remote 0x7f1456b28730>, <TestSuite(_tests=[]) at remote 0x7f1456b289a0>, <TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper a...(truncated), throwflag=0) at Python/ceval.c:3559 #95 0x00007f1462a98877 in PyEval_EvalFrameEx ( f=Frame 0x7f1461211dc0, for file mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py, line 66, in __call__ (self=<TestSuite(_tests=[<TestSuite(_tests=[]) at remote 0x7f1456b28730>, <TestSuite(_tests=[]) at remote 0x7f1456b289a0>, <TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper a...(truncated), throwflag=0) at Python/ceval.c:741 #96 0x00007f1462aa7829 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7f146138ebe0>, globals={'__name__': 'unittest2.suite', '__doc__': 'TestSuite', '__package__': 'unittest2', '__loader__': <SourceFileLoader(name='unittest2.suite', path='mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py') at remote 0x7f14613f7730>, '__spec__': <ModuleSpec(name='unittest2.suite', loader=<...>, origin='mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/suite.cpython-38.pyc', _initializing=False) at remote 0x7f1461409cd0>, '__file__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py', '__cached__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/suite.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represe...(truncated), locals=0x0, args=0x7ffc169b16d0, argcount=2, kwnames=0x0, kwargs=0x7ffc169b16e0, kwcount=0, kwstep=1, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name='__call__', qualname='BaseTestSuite.__call__') at Python/ceval.c:4298 #97 0x00007f146299e947 in _PyFunction_Vectorcall (func=<function at remote 0x7f1461399040>, stack=0x7ffc169b16d0, nargsf=2, kwnames=0x0) at Objects/call.c:435 #98 0x00007f146299db39 in _PyObject_FastCallDict (callable=<function at remote 0x7f1461399040>, args=0x7ffc169b16d0, nargsf=2, kwargs=0x0) at Objects/call.c:96 #99 0x00007f146299f8a8 in _PyObject_Call_Prepend (callable=<function at remote 0x7f1461399040>, obj=<TestSuite(_tests=[<TestSuite(_tests=[]) at remote 0x7f1456b28730>, <TestSuite(_tests=[]) at remote 0x7f1456b289a0>, <TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups--Type <RET> for more, q to quit, c to continue without paging-- =<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestV...(truncated), args=(<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_called=False, started_tests_by_worker={}, result_events={}, test_method_rerun_count=0, lock=<_threa...(truncated), kwargs=0x0) at Objects/call.c:887 #100 0x00007f1462a17c64 in slot_tp_call ( self=<TestSuite(_tests=[<TestSuite(_tests=[]) at remote 0x7f1456b28730>, <TestSuite(_tests=[]) at remote 0x7f1456b289a0>, <TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestV...(truncated), args=(<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestVSCode_setExceptionBreakpoints.TestVSCode_setExceptionBreakpoints.test_functionality': <float at remote 0x7f1456b7d910>}, terminate_called=False, started_tests_by_worker={}, result_events={}, test_method_rerun_count=0, lock=<_threa...(truncated), kwds=0x0) at Objects/typeobject.c:6521 #101 0x00007f146299ddec in _PyObject_MakeTpCall ( callable=<TestSuite(_tests=[<TestSuite(_tests=[]) at remote 0x7f1456b28730>, <TestSuite(_tests=[]) at remote 0x7f1456b289a0>, <TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestV...(truncated), args=0x555fa38a04f8, nargs=1, keywords=0x0) at Objects/call.c:159 #102 0x00007f1462a96c6f in _PyObject_Vectorcall ( callable=<TestSuite(_tests=[<TestSuite(_tests=[]) at remote 0x7f1456b28730>, <TestSuite(_tests=[]) at remote 0x7f1456b289a0>, <TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, showAll=True, dots=False, descriptions=True, progressbar=None, fmt='%1d: ', indentation=' ', counter=1, results_formatter=<ResultsFormatter(out_file=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, options=<Namespace(dump_results=False) at remote 0x7f1461d9ca60>, using_terminal=False, start_time_by_test={'TestV...(truncated), args=0x555fa38a04f8, nargsf=9223372036854775809, kwnames=0x0) at ./Include/cpython/abstract.h:125 #103 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169b1a68, oparg=1, kwnames=0x0) at Python/ceval.c:4987 #104 0x00007f1462aa48f9 in _PyEval_EvalFrameDefault ( f=Frame 0x555fa38a0300, for file mono/lldb/third_party/Python/module/unittest2/unittest2/runner.py, line 165, in run (self=<TextTestRunner(stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, descriptions=True, verbosity=2, failfast=False, buffer=False, resultclass=<type at remote 0x555fa3887050>) at remote 0x7f1456b283d0>, test=<TestSuite(_tests=[<TestSuite(_tests=[]) at remote 0x7f1456b28730>, <TestSuite(_tests=[]) at remote 0x7f1456b289a0>, <TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<...>, showA...(truncated), throwflag=0) at Python/ceval.c:3500 #105 0x00007f1462a98877 in PyEval_EvalFrameEx ( f=Frame 0x555fa38a0300, for file mono/lldb/third_party/Python/module/unittest2/unittest2/runner.py, line 165, in run (self=<TextTestRunner(stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7f1461e4cee0>) at remote 0x7f1456b28520>, descriptions=True, verbosity=2, failfast=False, buffer=False, resultclass=<type at remote 0x555fa3887050>) at remote 0x7f1456b283d0>, test=<TestSuite(_tests=[<TestSuite(_tests=[]) at remote 0x7f1456b28730>, <TestSuite(_tests=[]) at remote 0x7f1456b289a0>, <TestSuite(_tests=[<TestVSCode_setExceptionBreakpoints(_testMethodName='test_functionality', _resultForDoCleanups=<LLDBTestResult(failfast=False, failures=[], passes=[], errors=[], cleanup_errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7f1461e4ce10>, _original_stderr=<_io.TextIOWrapper at remote 0x7f1461e4cee0>, _mirrorOutput=False, stream=<...>, showA...(truncated), throwflag=0) at Python/ceval.c:741 #106 0x00007f146299e386 in function_code_fastcall (co=0x7f146139f3a0, args=0x555fa3883ff8, nargs=2, globals={'__name__': 'unittest2.runner', '__doc__': 'Running tests', '__package__': 'unittest2', '__loader__': <SourceFileLoader(name='unittest2.runner', path='mono/lldb/third_party/Python/module/unittest2/unittest2/runner.py') at remote 0x7f1461394850>, '__spec__': <ModuleSpec(name='unittest2.runner', loader=<...>, origin='mono/lldb/third_party/Python/module/unittest2/unittest2/runner.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/runner.cpython-38.pyc', _initializing=False) at remote 0x7f1461394760>, '__file__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/runner.py', '__cached__': 'mono/lldb/third_party/Python/module/unittest2/unittest2/__pycache__/runner.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Elli...(truncated)) at Objects/call.c:283 #107 0x00007f146299e823 in _PyFunction_Vectorcall (func=<function at remote 0x7f14613a70d0>, stack=0x555fa3883fe8, nargsf=9223372036854775810, kwnames=0x0) at Objects/call.c:410 #108 0x00007f1462a96c8b in _PyObject_Vectorcall (callable=<function at remote 0x7f14613a70d0>, args=0x555fa3883fe8, nargsf=9223372036854775810, kwnames=0x0) at ./Include/cpython/abstract.h:127 #109 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169b2c90, oparg=2, kwnames=0x0) at Python/ceval.c:4987 #110 0x00007f1462aa47c5 in _PyEval_EvalFrameDefault ( f=Frame 0x555fa3883de0, for file mono/lldb/packages/Python/lldbsuite/test/dotest.py, line 7518, in run_suite (lldbconfig=<module at remote 0x7f1461b9ecc0>, lldb=<module at remote 0x7f1461b9ed60>, lldbutil=<module at remote 0x7f1461158450>, platform_changes={}, first=True, build_dir='build/opt/lldb-test-build.noindex', target_platform='linux', testdir='mono/lldb/test/API', dirpath='mono/lldb/test/API/test_runner/test', dirnames=[], filenames=['inferior.py', 'test_process_control.py', '__init__.py'], configString='arch=x86_64 compiler=build/opt/bin/clang-10'), throwflag=0) at Python/ceval.c:3486 #111 0x00007f1462a98877 in PyEval_EvalFrameEx ( --Type <RET> for more, q to quit, c to continue without paging-- f=Frame 0x555fa3883de0, for file mono/lldb/packages/Python/lldbsuite/test/dotest.py, line 7518, in run_suite (lldbconfig=<module at remote 0x7f1461b9ecc0>, lldb=<module at remote 0x7f1461b9ed60>, lldbutil=<module at remote 0x7f1461158450>, platform_changes={}, first=True, build_dir='build/opt/lldb-test-build.noindex', target_platform='linux', testdir='mono/lldb/test/API', dirpath='mono/lldb/test/API/test_runner/test', dirnames=[], filenames=['inferior.py', 'test_process_control.py', '__init__.py'], configString='arch=x86_64 compiler=build/opt/bin/clang-10'), throwflag=0) at Python/ceval.c:741 #112 0x00007f146299e386 in function_code_fastcall (co=0x7f1461bd3500, args=0x7f1461dbe5b8, nargs=0, globals={'__name__': 'lldbsuite.test.dotest', '__doc__': '\nA simple testing framework for lldb using python\'s unit testing framework.\n\nTests for lldb are written as python scripts which take advantage of the script\nbridging provided by LLDB.framework to interact with lldb core.\n\nA specific naming pattern is followed by the .py script to be recognized as\na module which implements a test scenario, namely, Test*.py.\n\nTo specify the directories where "Test*.py" python test scripts are located,\nyou need to pass in a list of directory names. By default, the current\nworking directory is searched if nothing is specified on the command line.\n\nType:\n\n./dotest.py -h\n\nfor available options.\n', '__package__': 'lldbsuite.test', '__loader__': <SourceFileLoader(name='lldbsuite.test.dotest', path='mono/lldb/packages/Python/lldbsuite/test/dotest.py') at remote 0x7f1461c4a340>, '__spec__': <ModuleSpec(name='lldbsuite.test.dotest', loader=<...>, origin='mono/lldb/packages/Python/lldbsu...(truncated)) at Objects/call.c:283 #113 0x00007f146299e823 in _PyFunction_Vectorcall (func=<function at remote 0x7f14613c9940>, stack=0x7f1461dbe5b8, nargsf=9223372036854775808, kwnames=0x0) at Objects/call.c:410 #114 0x00007f1462a96c8b in _PyObject_Vectorcall (callable=<function at remote 0x7f14613c9940>, args=0x7f1461dbe5b8, nargsf=9223372036854775808, kwnames=0x0) at ./Include/cpython/abstract.h:127 #115 0x00007f1462aa943b in call_function (tstate=0x555fa369c860, pp_stack=0x7ffc169b3ec0, oparg=0, kwnames=0x0) at Python/ceval.c:4987 #116 0x00007f1462aa477f in _PyEval_EvalFrameDefault (f=Frame 0x7f1461dbe440, for file mono/lldb/test/API/dotest.py, line 7, in <module> (), throwflag=0) at Python/ceval.c:3469 #117 0x00007f1462a98877 in PyEval_EvalFrameEx (f=Frame 0x7f1461dbe440, for file mono/lldb/test/API/dotest.py, line 7, in <module> (), throwflag=0) at Python/ceval.c:741 #118 0x00007f1462aa7829 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7f1461d1b240>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='mono/lldb/test/API/dotest.py') at remote 0x7f1461e158b0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f1461e3f090>, '__file__': 'mono/lldb/test/API/dotest.py', '__cached__': None, 'use_lldb_suite': <module at remote 0x7f1461daddb0>, 'lldbsuite': <module at remote 0x7f1461c3d6d0>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='mono/lldb/test/API/dotest.py') at remote 0x7f1461e158b0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f1461e3f090>, '__file__': 'mono/lldb/test/API/dotest.py', '__cached__': None, 'use_lldb_suite': <module at remote 0x7f1461daddb0>, 'lldbsuite': <module at remote 0x7f1461c3d6d0>}, args=0x0, argcount=0, kwnames=0x0, kwargs=0x0, kwcount=0, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at Python/ceval.c:4298 #119 0x00007f1462aa7972 in PyEval_EvalCodeEx (_co=<code at remote 0x7f1461d1b240>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='mono/lldb/test/API/dotest.py') at remote 0x7f1461e158b0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f1461e3f090>, '__file__': 'mono/lldb/test/API/dotest.py', '__cached__': None, 'use_lldb_suite': <module at remote 0x7f1461daddb0>, 'lldbsuite': <module at remote 0x7f1461c3d6d0>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='mono/lldb/test/API/dotest.py') at remote 0x7f1461e158b0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f1461e3f090>, '__file__': 'mono/lldb/test/API/dotest.py', '__cached__': None, 'use_lldb_suite': <module at remote 0x7f1461daddb0>, 'lldbsuite': <module at remote 0x7f1461c3d6d0>}, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:4327 #120 0x00007f1462a987f2 in PyEval_EvalCode (co=<code at remote 0x7f1461d1b240>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='mono/lldb/test/API/dotest.py') at remote 0x7f1461e158b0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f1461e3f090>, '__file__': 'mono/lldb/test/API/dotest.py', '__cached__': None, 'use_lldb_suite': <module at remote 0x7f1461daddb0>, 'lldbsuite': <module at remote 0x7f1461c3d6d0>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='mono/lldb/test/API/dotest.py') at remote 0x7f1461e158b0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f1461e3f090>, '__file__': 'mono/lldb/test/API/dotest.py', '__cached__': None, 'use_lldb_suite': <module at remote 0x7f1461daddb0>, 'lldbsuite': <module at remote 0x7f1461c3d6d0>}) at Python/ceval.c:718 #121 0x00007f1462af85ad in run_eval_code_obj (co=0x7f1461d1b240, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='mono/lldb/test/API/dotest.py') at remote 0x7f1461e158b0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f1461e3f090>, '__file__': 'mono/lldb/test/API/dotest.py', '__cached__': None, 'use_lldb_suite': <module at remote 0x7f1461daddb0>, 'lldbsuite': <module at remote 0x7f1461c3d6d0>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='mono/lldb/test/API/dotest.py') at remote 0x7f1461e158b0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f1461e3f090>, '__file__': 'mono/lldb/test/API/dotest.py', '__cached__': None, 'use_lldb_suite': <module at remote 0x7f1461daddb0>, 'lldbsuite': <module at remote 0x7f1461c3d6d0>}) at Python/pythonrun.c:1125 #122 0x00007f1462af868a in run_mod (mod=0x555fa36d6f60, filename='mono/lldb/test/API/dotest.py', globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='mono/lldb/test/API/dotest.py') at remote 0x7f1461e158b0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f1461e3f090>, '__file__': 'mono/lldb/test/API/dotest.py', '__cached__': None, 'use_lldb_suite': <module at remote 0x7f1461daddb0>, 'lldbsuite': <module at remote 0x7f1461c3d6d0>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='mono/lldb/test/API/dotest.py') at remote 0x7f1461e158b0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f1461e3f090>, '__file__': 'mono/lldb/test/API/dotest.py', '__cached__': None, 'use_lldb_suite': <module at remote 0x7f1461daddb0>, 'lldbsuite': <module at remote 0x7f1461c3d6d0>}, flags=0x7ffc169b5330, arena=0x7f1462d367b0) at Python/pythonrun.c:1147 #123 0x00007f1462af83dd in PyRun_FileExFlags (fp=0x555fa369e2b0, filename_str=0x7f1461de4370 "mono/lldb/test/API/dotest.py", start=257, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='mono/lldb/test/API/dotest.py') at remote 0x7f1461e158b0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f1461e3f090>, '__file__': 'mono/lldb/test/API/dotest.py', '__cached__': None, 'use_lldb_suite': <module at remote 0x7f1461daddb0>, 'lldbsuite': <module at remote 0x7f1461c3d6d0>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='mono/lldb/test/API/dotest.py') at remote 0x7f1461e158b0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f1461e3f090>, '__file__': 'mono/lldb/test/API/dotest.py', '__cached__': None, 'use_lldb_suite': <module at remote 0x7f1461daddb0>, 'lldbsuite': <module at remote 0x7f1461c3d6d0>}, closeit=1, flags=0x7ffc169b5330) at Python/pythonrun.c:1063 #124 0x00007f1462af6e03 in PyRun_SimpleFileExFlags (fp=0x555fa369e2b0, filename=0x7f1461de4370 "mono/lldb/test/API/dotest.py", closeit=1, flags=0x7ffc169b5330) at Python/pythonrun.c:428 #125 0x00007f1462af62b4 in PyRun_AnyFileExFlags (fp=0x555fa369e2b0, filename=0x7f1461de4370 "mono/lldb/test/API/dotest.py", closeit=1, flags=0x7ffc169b5330) at Python/pythonrun.c:86 #126 0x00007f1462b1f0af in pymain_run_file (config=0x555fa369ea20, cf=0x7ffc169b5330) at Modules/main.c:381 --Type <RET> for more, q to quit, c to continue without paging-- #127 0x00007f1462b1f6f9 in pymain_run_python (exitcode=0x7ffc169b5354) at Modules/main.c:565 #128 0x00007f1462b1f80f in Py_RunMain () at Modules/main.c:644 #129 0x00007f1462b1f8af in pymain_main (args=0x7ffc169b53d0) at Modules/main.c:674 #130 0x00007f1462b1f96f in Py_BytesMain (argc=32, argv=0x7ffc169b5508) at Modules/main.c:698 #131 0x0000555fa2f3e185 in main (argc=32, argv=0x7ffc169b5508) at ./Programs/python.c:16 (gdb) py-bt Traceback (most recent call first): File "/usr/lib/python3.8/threading.py", line 302, in wait waiter.acquire() File "mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py", line 787, in recv_packet if 'sourceReference' not in source: File "mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py", line 295, in send_recv response = self.recv_packet(filter_type='response') File "mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py", line 804, in request_disconnect 'type': 'request', File "mono/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py", line 285, in cleanup self.vscode.request_disconnect(terminateDebuggee=True) File "mono/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1272, in tearDown self.lldbArchitecture = m.group(1) File "mono/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2011, in tearDown Base.tearDown(self) File "mono/lldb/third_party/Python/module/unittest2/unittest2/case.py", line 1410, in run File "mono/lldb/third_party/Python/module/unittest2/unittest2/case.py", line 458, in __call__ return self.run(*args, **kwds) File "mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 373, in _wrapped_run File "mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 371, in _wrapped_run File "mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 85, in run self._wrapped_run(result) File "mono/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 66, in __call__ return self.run(*args, **kwds) File "mono/lldb/third_party/Python/module/unittest2/unittest2/runner.py", line 165, in run test(result) File "mono/lldb/packages/Python/lldbsuite/test/dotest.py", line 7518, in run_suite File "mono/lldb/test/API/dotest.py", line 7, in <module> lldbsuite.test.run_suite()
Right now, it's not clear to me how this relates to this patch, but reverting it definitely makes the problem go away. Given the frequency of this hang, I hope you won't have a problem reproducing that on your end. If you do, let me know, and I'll try to get more info about it.
What's the purpose of this argument? To ensure a clean shutdown? Would it be possible to make the function smart enough to detect the right thing to do when cleaning up?