Closed cridemichel closed 7 months ago
Thanks for the detailed report and instructions, I can reproduce the error.
It only happens when you try to evaluate an expression after the debugee has completed, but while the adapter is still connected. This is kind of an edge case, and the best alternative result is just a less annoying error, so I don't consider it that serious.
Should be cleaned up though! Thanks.
Hi Ben, thank you for the prompt reply but I should ask you to reopen this issue, since first time I encountered this problem, it was after pausing a program. Indeed, if you download the following zip:
you will find a modified test case. If you follow the same steps described above, you pause the program and you press \<c-x>\<c-o> you should get errors as shown in the following screenshot:
and here is the log:
2024-02-16 08:13:42,523 - INFO - debug_session.py:128 - 0 - **** INITIALISING NEW VIMSPECTOR SESSION FOR ID 0 ****
2024-02-16 08:13:42,523 - INFO - debug_session.py:130 - 0 - API is:
2024-02-16 08:13:42,523 - INFO - debug_session.py:131 - 0 - VIMSPECTOR_HOME = /Users/demichel/.vim/plugged/vimspector
2024-02-16 08:13:42,523 - INFO - debug_session.py:132 - 0 - gadgetDir = /Users/demichel/.vim/plugged/vimspector/gadgets/macos
2024-02-16 08:13:42,523 - INFO - debug_session.py:226 - 0 - User requested start debug session with {'CommandLineArgs': '3', 'Executable': './test.exe', 'configuration': 'fullvararg'}
2024-02-16 08:13:42,524 - DEBUG - debug_session.py:187 - 0 - Reading configurations from: None
2024-02-16 08:13:42,524 - DEBUG - debug_session.py:187 - 0 - Reading configurations from: /Users/demichel/VIM_STUFF/VIMSPECTOR/.vimspector.json
2024-02-16 08:13:42,531 - DEBUG - debug_session.py:250 - 0 - Reading gadget config: /Users/demichel/.vim/plugged/vimspector/gadgets/macos/.gadgets.json
2024-02-16 08:13:42,539 - DEBUG - debug_session.py:250 - 0 - Reading gadget config: None
2024-02-16 08:13:42,539 - DEBUG - utils.py:633 - None - Returning Executable from the map for Executable with args ()
2024-02-16 08:13:42,539 - DEBUG - utils.py:633 - None - Returning CommandLineArgs from the map for CommandLineArgs with args ()
2024-02-16 08:13:42,539 - DEBUG - utils.py:684 - None - Put cwd into mapping for cwd with args ()
2024-02-16 08:13:42,539 - DEBUG - utils.py:633 - None - Returning cwd from the map for cwd with args ()
2024-02-16 08:13:42,539 - DEBUG - utils.py:633 - None - Returning gadgetDir from the map for gadgetDir with args ()
2024-02-16 08:13:42,539 - DEBUG - utils.py:684 - None - Put unusedLocalPort into mapping for unusedLocalPort with args ()
2024-02-16 08:13:42,540 - DEBUG - utils.py:633 - None - Returning unusedLocalPort from the map for unusedLocalPort with args ()
2024-02-16 08:13:42,540 - DEBUG - utils.py:633 - None - Returning workspaceRoot from the map for workspaceRoot with args ()
2024-02-16 08:13:42,540 - DEBUG - utils.py:633 - None - Returning unusedLocalPort from the map for unusedLocalPort with args ()
2024-02-16 08:13:42,540 - INFO - debug_session.py:485 - 0 - Configuration: {"adapter": "CodeLLDB", "breakpoints": {"exception": {"cpp_throw": "Y", "cpp_catch": "N"}}, "configuration": {"request": "launch", "program": "./test.exe", "args": ["3"], "stopAtEntry": true, "cwd": "/Users/demichel/VIM_STUFF/VIMSPECTOR"}}
2024-02-16 08:13:42,540 - INFO - debug_session.py:487 - 0 - Adapter: {"command": ["/Users/demichel/.vim/plugged/vimspector/gadgets/macos/CodeLLDB/adapter/codelldb", "--port", "64489"], "configuration": {"args": [], "cargo": {}, "cwd": "/Users/demichel/VIM_STUFF/VIMSPECTOR", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb"}, "name": "CodeLLDB", "port": "64489", "type": "CodeLLDB"}
2024-02-16 08:13:42,543 - DEBUG - debug_session.py:1203 - 0 - min_width/height: 187/50, actual: 125/38 - result: horizontal
2024-02-16 08:13:42,619 - DEBUG - debug_session.py:1787 - 0 - LAUNCH!
2024-02-16 08:13:42,620 - INFO - debug_session.py:1402 - 0 - Starting debug adapter with: {"command": ["/Users/demichel/.vim/plugged/vimspector/gadgets/macos/CodeLLDB/adapter/codelldb", "--port", "64489"], "configuration": {"args": [], "cargo": {}, "cwd": "/Users/demichel/VIM_STUFF/VIMSPECTOR", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb"}, "name": "CodeLLDB", "port": "64489", "type": "CodeLLDB"}
2024-02-16 08:13:42,620 - DEBUG - debug_session.py:1421 - 0 - Connection Type: channel
2024-02-16 08:13:42,830 - INFO - debug_session.py:1505 - 0 - Debug Adapter Started
2024-02-16 08:13:42,831 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "initialize", "arguments": {"adapterID": "CodeLLDB", "clientID": "vimspector", "clientName": "vimspector", "linesStartAt1": true, "columnsStartAt1": true, "locale": "en_GB", "pathFormat": "path", "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": true, "supportsStartDebuggingRequest": true}, "seq": 0, "type": "request"}
2024-02-16 08:13:43,052 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 1, 'type': 'response', 'request_seq': 0, 'success': True, 'command': 'initialize', 'body': {'exceptionBreakpointFilters': [{'default': True, 'filter': 'cpp_throw', 'label': 'C++: on throw', 'supportsCondition': True}, {'default': False, 'filter': 'cpp_catch', 'label': 'C++: on catch', 'supportsCondition': True}], 'supportTerminateDebuggee': True, 'supportsCancelRequest': True, 'supportsCompletionsRequest': True, 'supportsConditionalBreakpoints': True, 'supportsConfigurationDoneRequest': True, 'supportsDataBreakpoints': True, 'supportsDelayedStackTraceLoading': True, 'supportsDisassembleRequest': True, 'supportsEvaluateForHovers': True, 'supportsExceptionFilterOptions': True, 'supportsExceptionInfoRequest': True, 'supportsFunctionBreakpoints': True, 'supportsGotoTargetsRequest': True, 'supportsHitConditionalBreakpoints': True, 'supportsInstructionBreakpoints': True, 'supportsLogPoints': True, 'supportsReadMemoryRequest': True, 'supportsSetVariable': True, 'supportsSteppingGranularity': True, 'supportsWriteMemoryRequest': True}}
2024-02-16 08:13:43,052 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "launch", "arguments": {"args": ["3"], "cargo": {}, "cwd": "/Users/demichel/VIM_STUFF/VIMSPECTOR", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb", "request": "launch", "program": "./test.exe", "stopAtEntry": true}, "seq": 1, "type": "request"}
2024-02-16 08:13:43,053 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 2, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': "Console is in 'commands' mode, prefix expressions with '?'.\n"}}
2024-02-16 08:13:43,062 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 3, 'type': 'event', 'event': 'initialized'}
2024-02-16 08:13:43,062 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "setFunctionBreakpoints", "arguments": {"breakpoints": []}, "seq": 2, "type": "request"}
2024-02-16 08:13:43,062 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "setExceptionBreakpoints", "arguments": {"filters": ["cpp_throw"]}, "seq": 3, "type": "request"}
2024-02-16 08:13:43,063 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 4, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': 'FFFFFFFFFFFFFFFF', 'id': 'FFFFFFFFFFFFFFFF', 'name': 'test.exe', 'path': '/Users/demichel/VIM_STUFF/VIMSPECTOR/test.exe', 'symbolFilePath': '/Users/demichel/VIM_STUFF/VIMSPECTOR/test.exe.dSYM/Contents/Resources/DWARF/test.exe', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,076 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 5, 'type': 'request', 'command': 'runInTerminal', 'arguments': {'args': ['/Users/demichel/.vim/plugged/vimspector/gadgets/macos/CodeLLDB/adapter/codelldb', 'terminal-agent', '--connect=64496'], 'cwd': '', 'kind': 'integrated', 'title': 'lldb'}}
2024-02-16 08:13:43,076 - DEBUG - debug_session.py:1966 - 0 - Defaulting working directory to /Users/demichel/VIM_STUFF/VIMSPECTOR
2024-02-16 08:13:43,094 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"seq": 4, "type": "response", "request_seq": 5, "command": "runInTerminal", "body": {"processId": 96160}, "success": true}
2024-02-16 08:13:43,094 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 6, 'type': 'response', 'request_seq': 2, 'success': True, 'command': 'setFunctionBreakpoints', 'body': {'breakpoints': []}}
2024-02-16 08:13:43,094 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 7, 'type': 'response', 'request_seq': 3, 'success': True, 'command': 'setExceptionBreakpoints'}
2024-02-16 08:13:43,094 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "configurationDone", "seq": 5, "type": "request"}
2024-02-16 08:13:43,112 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 8, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': 'Launching: /Users/demichel/VIM_STUFF/VIMSPECTOR/test.exe 3\n'}}
2024-02-16 08:13:43,533 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 9, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': 'Launched process 96161\n'}}
2024-02-16 08:13:43,534 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 10, 'type': 'response', 'request_seq': 1, 'success': True, 'command': 'launch'}
2024-02-16 08:13:43,534 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 11, 'type': 'event', 'event': 'module', 'body': {'module': {'id': '100000000', 'name': ''}, 'reason': 'removed'}}
2024-02-16 08:13:43,534 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 12, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '10000C000', 'id': '10000C000', 'name': 'dyld', 'path': '/usr/lib/dyld', 'symbolFilePath': '/usr/lib/dyld', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,542 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 13, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100000000', 'id': '100000000', 'name': 'test.exe', 'path': '/Users/demichel/VIM_STUFF/VIMSPECTOR/test.exe', 'symbolFilePath': '/Users/demichel/VIM_STUFF/VIMSPECTOR/test.exe.dSYM/Contents/Resources/DWARF/test.exe', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,542 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 14, 'type': 'event', 'event': 'continued', 'body': {'allThreadsContinued': True, 'threadId': 2548798}}
2024-02-16 08:13:43,542 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 15, 'type': 'response', 'request_seq': 5, 'success': True, 'command': 'configurationDone'}
2024-02-16 08:13:43,543 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "threads", "seq": 6, "type": "request"}
2024-02-16 08:13:43,543 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 16, 'type': 'event', 'event': 'module', 'body': {'module': {'id': 'FFFFFFFFFFFFFFFF', 'name': ''}, 'reason': 'removed'}}
2024-02-16 08:13:43,543 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 17, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DBE0000', 'id': '7FF80DBE0000', 'name': 'dyld', 'path': '/usr/lib/dyld', 'symbolFilePath': '/usr/lib/dyld', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,543 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 18, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100000000', 'id': '100000000', 'name': 'test.exe', 'path': '/Users/demichel/VIM_STUFF/VIMSPECTOR/test.exe', 'symbolFilePath': '/Users/demichel/VIM_STUFF/VIMSPECTOR/test.exe.dSYM/Contents/Resources/DWARF/test.exe', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,559 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 19, 'type': 'response', 'request_seq': 6, 'success': True, 'command': 'threads', 'body': {'threads': [{'id': 2548798, 'name': '1: tid=2548798'}]}}
2024-02-16 08:13:43,609 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 20, 'type': 'event', 'event': 'breakpoint', 'body': {'breakpoint': {'id': 1, 'message': 'Resolved locations: 2', 'verified': True}, 'reason': 'changed'}}
2024-02-16 08:13:43,609 - WARNING - breakpoints.py:561 - 0 - Unexpected update to breakpoint with id 1:breakpiont not found. {'id': 1, 'message': 'Resolved locations: 2', 'verified': True}
2024-02-16 08:13:43,609 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 21, 'type': 'event', 'event': 'breakpoint', 'body': {'breakpoint': {'id': 1, 'message': 'Resolved locations: 2', 'verified': True}, 'reason': 'changed'}}
2024-02-16 08:13:43,609 - WARNING - breakpoints.py:561 - 0 - Unexpected update to breakpoint with id 1:breakpiont not found. {'id': 1, 'message': 'Resolved locations: 2', 'verified': True}
2024-02-16 08:13:43,609 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 22, 'type': 'event', 'event': 'breakpoint', 'body': {'breakpoint': {'id': 1, 'message': 'Resolved locations: 2', 'verified': True}, 'reason': 'changed'}}
2024-02-16 08:13:43,609 - WARNING - breakpoints.py:561 - 0 - Unexpected update to breakpoint with id 1:breakpiont not found. {'id': 1, 'message': 'Resolved locations: 2', 'verified': True}
2024-02-16 08:13:43,610 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 23, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DE98000', 'id': '7FF80DE98000', 'name': 'libc++.1.dylib', 'path': '/usr/lib/libc++.1.dylib', 'symbolFilePath': '/usr/lib/libc++.1.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,610 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 24, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81AE35000', 'id': '7FF81AE35000', 'name': 'libSystem.B.dylib', 'path': '/usr/lib/libSystem.B.dylib', 'symbolFilePath': '/usr/lib/libSystem.B.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,610 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 25, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DF17000', 'id': '7FF80DF17000', 'name': 'libc++abi.dylib', 'path': '/usr/lib/libc++abi.dylib', 'symbolFilePath': '/usr/lib/libc++abi.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,610 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 26, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81AE2F000', 'id': '7FF81AE2F000', 'name': 'libcache.dylib', 'path': '/usr/lib/system/libcache.dylib', 'symbolFilePath': '/usr/lib/system/libcache.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,610 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 27, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81ADEA000', 'id': '7FF81ADEA000', 'name': 'libcommonCrypto.dylib', 'path': '/usr/lib/system/libcommonCrypto.dylib', 'symbolFilePath': '/usr/lib/system/libcommonCrypto.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,610 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 28, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81AE13000', 'id': '7FF81AE13000', 'name': 'libcompiler_rt.dylib', 'path': '/usr/lib/system/libcompiler_rt.dylib', 'symbolFilePath': '/usr/lib/system/libcompiler_rt.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,610 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 29, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81AE09000', 'id': '7FF81AE09000', 'name': 'libcopyfile.dylib', 'path': '/usr/lib/system/libcopyfile.dylib', 'symbolFilePath': '/usr/lib/system/libcopyfile.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,610 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 30, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DCDF000', 'id': '7FF80DCDF000', 'name': 'libcorecrypto.dylib', 'path': '/usr/lib/system/libcorecrypto.dylib', 'symbolFilePath': '/usr/lib/system/libcorecrypto.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,611 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 31, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DDC6000', 'id': '7FF80DDC6000', 'name': 'libdispatch.dylib', 'path': '/usr/lib/system/libdispatch.dylib', 'symbolFilePath': '/usr/lib/system/libdispatch.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,611 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 32, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DF77000', 'id': '7FF80DF77000', 'name': 'libdyld.dylib', 'path': '/usr/lib/system/libdyld.dylib', 'symbolFilePath': '/usr/lib/system/libdyld.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,611 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 33, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81AE25000', 'id': '7FF81AE25000', 'name': 'libkeymgr.dylib', 'path': '/usr/lib/system/libkeymgr.dylib', 'symbolFilePath': '/usr/lib/system/libkeymgr.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,611 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 34, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81ADC6000', 'id': '7FF81ADC6000', 'name': 'libmacho.dylib', 'path': '/usr/lib/system/libmacho.dylib', 'symbolFilePath': '/usr/lib/system/libmacho.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,611 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 35, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81A259000', 'id': '7FF81A259000', 'name': 'libquarantine.dylib', 'path': '/usr/lib/system/libquarantine.dylib', 'symbolFilePath': '/usr/lib/system/libquarantine.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,611 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 36, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81AE23000', 'id': '7FF81AE23000', 'name': 'libremovefile.dylib', 'path': '/usr/lib/system/libremovefile.dylib', 'symbolFilePath': '/usr/lib/system/libremovefile.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,611 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 37, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81359D000', 'id': '7FF81359D000', 'name': 'libsystem_asl.dylib', 'path': '/usr/lib/system/libsystem_asl.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_asl.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,611 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 38, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DC7D000', 'id': '7FF80DC7D000', 'name': 'libsystem_blocks.dylib', 'path': '/usr/lib/system/libsystem_blocks.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_blocks.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,612 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 39, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DE10000', 'id': '7FF80DE10000', 'name': 'libsystem_c.dylib', 'path': '/usr/lib/system/libsystem_c.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_c.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,612 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 40, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81AE1B000', 'id': '7FF81AE1B000', 'name': 'libsystem_collections.dylib', 'path': '/usr/lib/system/libsystem_collections.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_collections.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,612 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 41, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF819377000', 'id': '7FF819377000', 'name': 'libsystem_configuration.dylib', 'path': '/usr/lib/system/libsystem_configuration.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_configuration.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,612 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 42, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF8183E5000', 'id': '7FF8183E5000', 'name': 'libsystem_containermanager.dylib', 'path': '/usr/lib/system/libsystem_containermanager.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_containermanager.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,612 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 43, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81AA1E000', 'id': '7FF81AA1E000', 'name': 'libsystem_coreservices.dylib', 'path': '/usr/lib/system/libsystem_coreservices.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_coreservices.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,625 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 44, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81116F000', 'id': '7FF81116F000', 'name': 'libsystem_darwin.dylib', 'path': '/usr/lib/system/libsystem_darwin.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_darwin.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,625 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 45, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FFC24CCA000', 'id': '7FFC24CCA000', 'name': 'libsystem_darwindirectory.dylib', 'path': '/usr/lib/system/libsystem_darwindirectory.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_darwindirectory.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,625 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 46, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81AE26000', 'id': '7FF81AE26000', 'name': 'libsystem_dnssd.dylib', 'path': '/usr/lib/system/libsystem_dnssd.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_dnssd.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,625 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 47, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DE0D000', 'id': '7FF80DE0D000', 'name': 'libsystem_featureflags.dylib', 'path': '/usr/lib/system/libsystem_featureflags.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_featureflags.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,625 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 48, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DFA6000', 'id': '7FF80DFA6000', 'name': 'libsystem_info.dylib', 'path': '/usr/lib/system/libsystem_info.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_info.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,625 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 49, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81AD5E000', 'id': '7FF81AD5E000', 'name': 'libsystem_m.dylib', 'path': '/usr/lib/system/libsystem_m.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_m.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,626 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 50, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DD8D000', 'id': '7FF80DD8D000', 'name': 'libsystem_malloc.dylib', 'path': '/usr/lib/system/libsystem_malloc.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_malloc.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,626 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 51, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF813513000', 'id': '7FF813513000', 'name': 'libsystem_networkextension.dylib', 'path': '/usr/lib/system/libsystem_networkextension.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_networkextension.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,626 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 52, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF8115B9000', 'id': '7FF8115B9000', 'name': 'libsystem_notify.dylib', 'path': '/usr/lib/system/libsystem_notify.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_notify.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,626 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 53, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81937B000', 'id': '7FF81937B000', 'name': 'libsystem_sandbox.dylib', 'path': '/usr/lib/system/libsystem_sandbox.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_sandbox.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,626 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 54, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81AE20000', 'id': '7FF81AE20000', 'name': 'libsystem_secinit.dylib', 'path': '/usr/lib/system/libsystem_secinit.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_secinit.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,626 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 55, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DF30000', 'id': '7FF80DF30000', 'name': 'libsystem_kernel.dylib', 'path': '/usr/lib/system/libsystem_kernel.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_kernel.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,626 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 56, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DF9C000', 'id': '7FF80DF9C000', 'name': 'libsystem_platform.dylib', 'path': '/usr/lib/system/libsystem_platform.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_platform.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,626 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 57, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DF6B000', 'id': '7FF80DF6B000', 'name': 'libsystem_pthread.dylib', 'path': '/usr/lib/system/libsystem_pthread.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_pthread.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,627 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 58, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF815136000', 'id': '7FF815136000', 'name': 'libsystem_symptoms.dylib', 'path': '/usr/lib/system/libsystem_symptoms.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_symptoms.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,627 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 59, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DCC5000', 'id': '7FF80DCC5000', 'name': 'libsystem_trace.dylib', 'path': '/usr/lib/system/libsystem_trace.dylib', 'symbolFilePath': '/usr/lib/system/libsystem_trace.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,627 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 60, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81ADF6000', 'id': '7FF81ADF6000', 'name': 'libunwind.dylib', 'path': '/usr/lib/system/libunwind.dylib', 'symbolFilePath': '/usr/lib/system/libunwind.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,627 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 61, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DC81000', 'id': '7FF80DC81000', 'name': 'libxpc.dylib', 'path': '/usr/lib/system/libxpc.dylib', 'symbolFilePath': '/usr/lib/system/libxpc.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,627 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 62, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF80DB9E000', 'id': '7FF80DB9E000', 'name': 'libobjc.A.dylib', 'path': '/usr/lib/libobjc.A.dylib', 'symbolFilePath': '/usr/lib/libobjc.A.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:43,627 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 63, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '7FF81AE01000', 'id': '7FF81AE01000', 'name': 'liboah.dylib', 'path': '/usr/lib/liboah.dylib', 'symbolFilePath': '/usr/lib/liboah.dylib', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-16 08:13:46,602 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "pause", "arguments": {"threadId": 2548798}, "seq": 7, "type": "request"}
2024-02-16 08:13:46,710 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 64, 'type': 'response', 'request_seq': 7, 'success': True, 'command': 'pause'}
2024-02-16 08:13:46,710 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 65, 'type': 'event', 'event': 'output', 'body': {'category': 'stderr', 'output': 'Stop reason: signal SIGSTOP\n'}}
2024-02-16 08:13:46,711 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 66, 'type': 'event', 'event': 'stopped', 'body': {'allThreadsStopped': True, 'description': 'signal SIGSTOP', 'reason': 'exception', 'threadId': 2548798}}
2024-02-16 08:13:46,723 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "threads", "seq": 8, "type": "request"}
2024-02-16 08:13:46,746 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 67, 'type': 'response', 'request_seq': 8, 'success': True, 'command': 'threads', 'body': {'threads': [{'id': 2548798, 'name': '1: tid=2548798'}]}}
2024-02-16 08:13:46,746 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "stackTrace", "arguments": {"threadId": 2548798}, "seq": 9, "type": "request"}
2024-02-16 08:13:46,768 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 68, 'type': 'response', 'request_seq': 9, 'success': True, 'command': 'stackTrace', 'body': {'stackFrames': [{'column': 5, 'id': 1001, 'instructionPointerReference': '0x10000329D', 'line': 27, 'name': 'main', 'source': {'name': 'test.cpp', 'path': '/Users/demichel/VIM_STUFF/VIMSPECTOR/test.cpp'}}, {'column': 0, 'id': 1002, 'instructionPointerReference': '0x7FF80DBE6386', 'line': 439, 'name': 'start', 'presentationHint': 'subtle', 'source': {'name': '@start', 'sourceReference': 1000}}], 'totalFrames': 2}}
2024-02-16 08:13:46,808 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "scopes", "arguments": {"frameId": 1001}, "seq": 10, "type": "request"}
2024-02-16 08:13:46,820 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 69, 'type': 'response', 'request_seq': 10, 'success': True, 'command': 'scopes', 'body': {'scopes': [{'expensive': False, 'name': 'Local', 'variablesReference': 1003}, {'expensive': False, 'name': 'Static', 'variablesReference': 1004}, {'expensive': False, 'name': 'Global', 'variablesReference': 1005}, {'expensive': False, 'name': 'Registers', 'variablesReference': 1006}]}}
2024-02-16 08:13:46,820 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "variables", "arguments": {"variablesReference": 1003}, "seq": 11, "type": "request"}
2024-02-16 08:13:46,833 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 70, 'type': 'response', 'request_seq': 11, 'success': True, 'command': 'variables', 'body': {'variables': [{'evaluateName': 'b', 'memoryReference': '0x7FF7BFEFE978', 'name': 'b', 'presentationHint': {'attributes': ['readOnly']}, 'type': 'B', 'value': '{...}', 'variablesReference': 0}, {'evaluateName': 'i', 'memoryReference': '0x7FF7BFEFE974', 'name': 'i', 'type': 'int', 'value': '10', 'variablesReference': 0}]}}
2024-02-16 08:13:54,216 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "completions", "arguments": {"frameId": 1001, "text": "", "column": 1}, "seq": 12, "type": "request"}
2024-02-16 08:13:54,228 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 71, 'type': 'response', 'request_seq': 12, 'success': True, 'command': 'completions', 'body': {'targets': []}}
best C.
Description
If I type \<c-x>\<c-o> in console or watches buffers I get errors
Is it reproducible in vim?
Reproducible in Vim
Works with clean config?
Yes
Sample project works?
Reproducible with sample project
Minimal Reproduction
List of steps to reproduce:
test.zip
vim ---clean Nu /path/to/vimspector/support/minimal_vimrc
where "minimal_vimrc test.cpp " isExpected Behaviour
no errors on omnicompletion
Actual Behaviour
many errors
Additional information
none
Installation Type
Plugin Manager (git clone)
Vimspector version
https://github.com/puremourning/vimspector/commit/7c0a89d9a91b7b3ece1db15661d85f372bbc9add
Debug Info
Log file
Vim version
Python version
No response
Neovim diagnostics
No response
Operating System
Darwin piro.phys.uniroma1.it 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:28:58 PST 2023; root:xnu-10002.81.5~7/RELEASE_X86_64 x86_64
Declaration