puremourning / vimspector

vimspector - A multi-language debugging system for Vim
http://puremourning.github.io/vimspector-web
Apache License 2.0
4.08k stars 171 forks source link

omnicompletion not working yet #840

Open cridemichel opened 6 months ago

cridemichel commented 6 months ago

Description

If I type 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

Hi Ben, thank you for the prompt reply but I should ask you to reopen issue #837, since first time I encountered this problem, it was after pausing a program. Indeed, if you download the following zip:

test.zip

you will find a modified test case. If you follow the same steps described in #837, you pause the program and you press \<c-x>\<c-o> you should get errors as shown in the following screenshot

Screenshot 2024-02-16 alle 08 12 52

Expected Behaviour

no errors on omnicompletion

Actual Behaviour

many errors

Additional information

No response

Installation Type

Plugin Manager (git clone)

Vimspector version

da7fc248dc699bf423378bd6e48eaa446f674ca7

Debug Info

Vimspector Debug Info
--------------------------------------------------------------------------------
ConnectionType: channel
Adapter: 
--------------------------------------------------------------------------------
{
  "command": [
    "/Users/demichel/.vim/plugged/vimspector/gadgets/macos/CodeLLDB/adapter/codelldb",
    "--port",
    "53987"
  ],
  "configuration": {
    "args": [],
    "cargo": {},
    "cwd": "/Users/demichel/VIM_STUFF/VIMSPECTOR",
    "env": {},
    "name": "lldb",
    "terminal": "integrated",
    "type": "lldb"
  },
  "name": "CodeLLDB",
  "port": "53987",
  "type": "CodeLLDB",
  "env": {},
  "cwd": "/Users/demichel/VIM_STUFF/VIMSPECTOR"
}
--------------------------------------------------------------------------------
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"
  }
}
--------------------------------------------------------------------------------
API Prefix: 
Launch/Init: True / True
Workspace Root: /Users/demichel/VIM_STUFF/VIMSPECTOR
Launch Config: 
--------------------------------------------------------------------------------
{
  "args": [
    "3"
  ],
  "cargo": {},
  "cwd": "/Users/demichel/VIM_STUFF/VIMSPECTOR",
  "env": {},
  "name": "lldb",
  "terminal": "integrated",
  "type": "lldb",
  "request": "launch",
  "program": "./test.exe",
  "stopAtEntry": true
}
--------------------------------------------------------------------------------
Server Capabilities: 
--------------------------------------------------------------------------------
{
  "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
}
--------------------------------------------------------------------------------
Line Breakpoints: 
--------------------------------------------------------------------------------
{}
--------------------------------------------------------------------------------
Func Breakpoints: 
--------------------------------------------------------------------------------
[]
--------------------------------------------------------------------------------
Ex Breakpoints: 
--------------------------------------------------------------------------------
{
  "filters": [
    "cpp_throw"
  ]
}
---------------------------------------------------------

Log file

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': []}}

Vim version

VIM - Vi IMproved 9.1 (2024 Jan 02, compilato Feb 12 2024 19:28:01)
Versione macOS - x86_64
Patch incluse: 1-100
Compilato da Homebrew
Versione gigante senza GUI.  Funzionalità incluse (+) o escluse (-):
+acl               +file_in_path      +mouse_urxvt       -tag_any_white
+arabic            +find_in_path      +mouse_xterm       -tcl
+autocmd           +float             +multi_byte        +termguicolors
+autochdir         +folding           +multi_lang        +terminal
-autoservername    -footer            -mzscheme          +terminfo
-balloon_eval      +fork()            +netbeans_intg     +termresponse
+balloon_eval_term +gettext           +num64             +textobjects
-browse            -hangul_input      +packages          +textprop
++builtin_terms    +iconv             +path_extra        +timers
+byte_offset       +insert_expand     +perl              +title
+channel           +ipv6              +persistent_undo   -toolbar
+cindent           +job               +popupwin          +user_commands
-clientserver      +jumplist          +postscript        +vartabs
+clipboard         +keymap            +printer           +vertsplit
+cmdline_compl     +lambda            +profile           +vim9script
+cmdline_hist      +langmap           -python            +viminfo
+cmdline_info      +libcall           +python3           +virtualedit
+comments          +linebreak         +quickfix          +visual
+conceal           +lispindent        +reltime           +visualextra
+cryptv            +listcmds          +rightleft         +vreplace
+cscope            +localmap          +ruby              +wildignore
+cursorbind        +lua               +scrollbind        +wildmenu
+cursorshape       +menu              +signs             +windows
+dialog_con        +mksession         +smartindent       +writebackup
+diff              +modify_fname      +sodium            -X11
+digraphs          +mouse             +sound             -xattr
-dnd               -mouseshape        +spell             -xfontset
-ebcdic            +mouse_dec         +startuptime       -xim
+emacs_tags        -mouse_gpm         +statusline        -xpm
+eval              -mouse_jsbterm     -sun_workshop      -xsmp
+ex_extra          +mouse_netterm     +syntax            -xterm_clipboard
+extra_search      +mouse_sgr         +tag_binary        -xterm_save
-farsi             -mouse_sysmouse    -tag_old_static
   file vimrc di sistema: "$VIM/vimrc"
       file vimrc utente: "$HOME/.vimrc"
    II file vimrc utente: "~/.vim/vimrc"
        file exrc utente: "$HOME/.exrc"
        file dei default: "$VIMRUNTIME/defaults.vim"
         $VIM di riserva: "/usr/local/share/vim"
Compilazione: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X -DMACOS_X_DARWIN -g -O2 -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Link: clang -L/usr/local/lib -o vim -lm -lncurses -lsodium -liconv -lintl -framework AppKit -L/usr/local/opt/lua/lib -llua5.4 -mmacosx-version-min=14.2 -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/perl/lib/perl5/5.38/darwin-thread-multi-2level/CORE -lperl -L/usr/local/opt/python@3.12/Frameworks/Python.framework/Versions/3.12/lib/python3.12/config-3.12-darwin -lpython3.12 -framework CoreFoundation -lruby.3.3 -L/usr/local/Cellar/ruby/3.3.0/lib

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

puremourning commented 6 months ago

The steps to reproduce on the previous ticket didn't mention <C-x><C-o> but I can repro now.

Seems that Vim has changed something.

                                *E565*
Note: While completion is active Insert mode can't be used recursively and
buffer text cannot be changed.  Mappings that somehow invoke ":normal i.."
will generate an E565 error.

Will have to look into it, but this seems like a massive regression in Vim.

puremourning commented 6 months ago

The issue is that vimspector is trying to wait sychronously for the completion response from the DAP server (in order to not build a whole async completion system into vimspector for a very niche case.

Unfortunately, when writing/reading this request we end up receiving log messages etc. and try to write them to the log buffer, this requires switching buffers. So basically, what the new Vim "rule" says is that during processing of a user completion function, you cannot sleep or do anything that requests user input as this could fire timers, receive data on sockets, etc. so you have to implement complete() asynchronously. This probably means that the command line completion will also end up that way and there's no way to do that asynchronously.

Le sigh.

This will be fiddly to resolve, so won't be immediate.

In the meantime, using a more sophisticated completion system like YCM coupled with Vimspector's omnifunc works.

cridemichel commented 6 months ago

Hi, unfortunately, I am using coc-nvim as completion plugin, is there a way to make them coexist? In any case, I hope you will be able to fix this issue,

best C.

puremourning commented 6 months ago

I have no idea. Read to cock docs or upgrade to YouCompleteMe 🤪

cridemichel commented 6 months ago

to read cock docs? Better upgrading then :-)

Cristiano De Michele @.***

Il giorno 17 feb 2024, alle ore 12:40, Ben Jackson @.***> ha scritto:

I have no idea. Read to cock docs or upgrade to YouCompleteMe 🤪

— Reply to this email directly, view it on GitHub https://github.com/puremourning/vimspector/issues/840#issuecomment-1949949902, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADU4YGSN56GSKZLFJNC7KO3YUCJK5AVCNFSM6AAAAABDNEY2TWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZHE2DSOJQGI. You are receiving this because you authored the thread.

puremourning commented 6 months ago

Ooppps. Typo. 😎