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

Launching a debug session I always get "Process exited with code -1." #836

Closed cridemichel closed 7 months ago

cridemichel commented 7 months ago

Description

If I start to debub an executable I always get "Process exited with code -1."

Is it reproducible in vim?

Reproducible in Vim

Works with clean config?

Yes

Sample project works?

Not reproducible with sample project

Minimal Reproduction

List of steps to reproduce:

  1. Run vim ---clean Nu /path/to/vimspector/support/minimal_vimrc where "minimal_vimrc" is
    set nocompatible
    set runtimepath^=/Users/demichel/.vim/plugged/vimspector/
    " Use <c-space> to trigger completion
    filetype plugin indent on
    set nohidden
    function! Vis(...)
    if a:0 < 2
    echo '[ERROR] You must supply program name and arguments'
    return
    endif
    let l:allargs= join(a:000[1:])
    let l:dict={ 'configuration': 'fullvararg', 'Executable': a:1, 'CommandLineArgs': l:allargs }
    call vimspector#LaunchWithSettings( l:dict )
    endfunction
    command! -complete=file -nargs=+ D call Vis(<f-args>)
  2. Open an executable "test.cpp" to debug, whose executable is called "test.exe" and from command line execute:
    D ./test.exe
  3. Program will terminate with message "Process exited with code -1"

Note that if I debug the program by launching lldb from terminal, it works fine.

see also related discussion https://github.com/vadimcn/codelldb/discussions/456#discussioncomment-874122

Expected Behaviour

I can debug the program

Actual Behaviour

I can not debug the program

Additional information

I am using macos Sonoma 14.3.1 with vim from homebrew

Installation Type

Plugin Manager (git clone)

Vimspector version

7c0a89d9a91b7b3ece1db15661d85f372bbc9add

Debug Info

Vimspector Debug Info
--------------------------------------------------------------------------------
ConnectionType: channel
Adapter:
--------------------------------------------------------------------------------
{
  "command": [
    "/Users/demichel/.vim/plugged/vimspector/gadgets/macos/CodeLLDB/adapter/codelldb",
    "--port",
    "62313"
  ],
  "configuration": {
    "args": [],
    "cargo": {},
    "cwd": "/Users/demichel/MDsimul++",
    "env": {},
    "name": "lldb",
    "terminal": "integrated",
    "type": "lldb"
  },
  "name": "CodeLLDB",
  "port": "62313",
  "type": "CodeLLDB",
  "env": {},
  "cwd": "/Users/demichel/MDsimul++/softionicduplexes/PROVE"
}
--------------------------------------------------------------------------------
Configuration:
--------------------------------------------------------------------------------
{
 "adapter": "CodeLLDB",
  "breakpoints": {
    "exception": {
      "cpp_throw": "Y",
      "cpp_catch": "N"
    }
  },
  "configuration": {
    "request": "launch",
    "program": "../mcsim_sild_dbg",
    "args": [
      "3"
    ],
    "stopAtEntry": true,
    "cwd": "/Users/demichel/MDsimul++/softionicduplexes/PROVE"
  }
}
--------------------------------------------------------------------------------
API Prefix:
Launch/Init: True / True
Workspace Root: /Users/demichel/MDsimul++
Launch Config:
--------------------------------------------------------------------------------
{
  "args": [
    "3"
  ],
  "cargo": {},
  "cwd": "/Users/demichel/MDsimul++/softionicduplexes/PROVE",
  "env": {},
  "name": "lldb",
  "terminal": "integrated",
  "type": "lldb",
  "request": "launch",
  "program": "../mcsim_sild_dbg",
  "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-13 18:32:15,211 - INFO - debug_session.py:128 - 0 - **** INITIALISING NEW VIMSPECTOR SESSION FOR ID 0 ****
2024-02-13 18:32:15,211 - INFO - debug_session.py:130 - 0 - API is:
2024-02-13 18:32:15,211 - INFO - debug_session.py:131 - 0 - VIMSPECTOR_HOME = /Users/demichel/.vim/plugged/vimspector/python3/vimspector/../..
2024-02-13 18:32:15,211 - INFO - debug_session.py:132 - 0 - gadgetDir = /Users/demichel/.vim/plugged/vimspector/gadgets/macos
2024-02-13 18:32:36,712 - INFO - debug_session.py:226 - 0 - User requested start debug session with {'CommandLineArgs': '3', 'Executable': '../mcsim_sild_dbg', 'configuration': 'fullvararg'}
2024-02-13 18:32:36,712 - DEBUG - debug_session.py:187 - 0 - Reading configurations from: None
2024-02-13 18:32:36,713 - DEBUG - debug_session.py:187 - 0 - Reading configurations from: /Users/demichel/MDsimul++/.vimspector.json
2024-02-13 18:32:36,723 - DEBUG - debug_session.py:250 - 0 - Reading gadget config: /Users/demichel/.vim/plugged/vimspector/gadgets/macos/.gadgets.json
2024-02-13 18:32:36,734 - DEBUG - debug_session.py:250 - 0 - Reading gadget config: None
2024-02-13 18:32:36,735 - DEBUG - utils.py:633 - None - Returning Executable from the map for Executable with args ()
2024-02-13 18:32:36,735 - DEBUG - utils.py:633 - None - Returning CommandLineArgs from the map for CommandLineArgs with args ()
2024-02-13 18:32:36,735 - DEBUG - utils.py:684 - None - Put cwd into mapping for cwd with args ()
2024-02-13 18:32:36,735 - DEBUG - utils.py:633 - None - Returning cwd from the map for cwd with args ()
2024-02-13 18:32:36,735 - DEBUG - utils.py:633 - None - Returning gadgetDir from the map for gadgetDir with args ()
2024-02-13 18:32:36,735 - DEBUG - utils.py:684 - None - Put unusedLocalPort into mapping for unusedLocalPort with args ()
2024-02-13 18:32:36,735 - DEBUG - utils.py:633 - None - Returning unusedLocalPort from the map for unusedLocalPort with args ()
2024-02-13 18:32:36,736 - DEBUG - utils.py:633 - None - Returning workspaceRoot from the map for workspaceRoot with args ()
2024-02-13 18:32:36,736 - DEBUG - utils.py:633 - None - Returning unusedLocalPort from the map for unusedLocalPort with args ()
2024-02-13 18:32:36,736 - INFO - debug_session.py:483 - 0 - Configuration: {"adapter": "CodeLLDB", "breakpoints": {"exception": {"cpp_throw": "Y", "cpp_catch": "N"}}, "configuration": {"request": "launch", "program": "../mcsim_sild_dbg", "args": ["3"], "stopAtEntry": true, "cwd": "/Users/demichel/MDsimul++/softionicduplexes/PROVE"}}
2024-02-13 18:32:36,736 - INFO - debug_session.py:485 - 0 - Adapter: {"command": ["/Users/demichel/.vim/plugged/vimspector/gadgets/macos/CodeLLDB/adapter/codelldb", "--port", "62313"], "configuration": {"args": [], "cargo": {}, "cwd": "/Users/demichel/MDsimul++", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb"}, "name": "CodeLLDB", "port": "62313", "type": "CodeLLDB"}
2024-02-13 18:32:36,736 - DEBUG - debug_session.py:1201 - 0 - min_width/height: 149/50, actual: 148/49 - result: horizontal
2024-02-13 18:32:36,745 - DEBUG - debug_session.py:1785 - 0 - LAUNCH!
2024-02-13 18:32:36,745 - INFO - debug_session.py:1400 - 0 - Starting debug adapter with: {"command": ["/Users/demichel/.vim/plugged/vimspector/gadgets/macos/CodeLLDB/adapter/codelldb", "--port", "62313"], "configuration": {"args": [], "cargo": {}, "cwd": "/Users/demichel/MDsimul++", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb"}, "name": "CodeLLDB", "port": "62313", "type": "CodeLLDB"}
2024-02-13 18:32:36,745 - DEBUG - debug_session.py:1419 - 0 - Connection Type: channel
2024-02-13 18:32:36,963 - INFO - debug_session.py:1503 - 0 - Debug Adapter Started
2024-02-13 18:32:36,964 - 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-13 18:32:37,172 - 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-13 18:32:37,172 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "launch", "arguments": {"args": ["3"], "cargo": {}, "cwd": "/Users/demichel/MDsimul++/softionicduplexes/PROVE", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb", "request": "launch", "program": "../mcsim_sild_dbg", "stopAtEntry": true}, "seq": 1, "type": "request"}
2024-02-13 18:32:37,173 - 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-13 18:32:37,190 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 3, 'type': 'event', 'event': 'initialized'}
2024-02-13 18:32:37,191 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "setFunctionBreakpoints", "arguments": {"breakpoints": []}, "seq": 2, "type": "request"}
2024-02-13 18:32:37,191 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "setExceptionBreakpoints", "arguments": {"filters": ["cpp_throw"]}, "seq": 3, "type": "request"}
2024-02-13 18:32:37,192 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 4, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': 'FFFFFFFFFFFFFFFF', 'id': 'FFFFFFFFFFFFFFFF', 'name': 'mcsim_sild_dbg', 'path': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg', 'symbolFilePath': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg.dSYM/Contents/Resources/DWARF/mcsim_sild_dbg', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:32:37,192 - 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=62321'], 'cwd': '', 'kind': 'integrated', 'title': 'lldb'}}
2024-02-13 18:32:37,192 - DEBUG - debug_session.py:1964 - 0 - Defaulting working directory to /Users/demichel/MDsimul++
2024-02-13 18:32:37,196 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"seq": 4, "type": "response", "request_seq": 5, "command": "runInTerminal", "body": {"processId": 95086}, "success": true}
2024-02-13 18:32:37,196 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 7, 'type': 'response', 'request_seq': 3, 'success': True, 'command': 'setExceptionBreakpoints'}
2024-02-13 18:32:37,196 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "configurationDone", "seq": 5, "type": "request"}
2024-02-13 18:32:37,203 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 8, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': 'Launching: /Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg 3\n'}}
2024-02-13 18:32:37,616 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 9, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': 'Launched process 95087\n'}}
2024-02-13 18:32:37,617 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 10, 'type': 'response', 'request_seq': 1, 'success': True, 'command': 'launch'}
2024-02-13 18:32:37,617 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 11, 'type': 'event', 'event': 'module', 'body': {'module': {'id': '100000000', 'name': ''}, 'reason': 'removed'}}
2024-02-13 18:32:37,617 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 12, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100118000', 'id': '100118000', 'name': 'dyld', 'path': '/usr/lib/dyld', 'symbolFilePath': '/usr/lib/dyld', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:32:37,618 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 13, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100000000', 'id': '100000000', 'name': 'mcsim_sild_dbg', 'path': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg', 'symbolFilePath': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg.dSYM/Contents/Resources/DWARF/mcsim_sild_dbg', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:32:37,618 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 14, 'type': 'event', 'event': 'continued', 'body': {'allThreadsContinued': True, 'threadId': 1058380}}
2024-02-13 18:32:37,618 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 15, 'type': 'response', 'request_seq': 5, 'success': True, 'command': 'configurationDone'}
2024-02-13 18:32:37,618 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "threads", "seq": 6, "type": "request"}
2024-02-13 18:32:37,619 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 16, 'type': 'event', 'event': 'module', 'body': {'module': {'id': 'FFFFFFFFFFFFFFFF', 'name': ''}, 'reason': 'removed'}}
2024-02-13 18:32:37,619 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 17, 'type': 'response', 'request_seq': 6, 'success': True, 'command': 'threads', 'body': {'threads': [{'id': 1058380, 'name': '1: tid=1058380'}]}}
2024-02-13 18:32:37,621 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 18, '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-13 18:32:37,621 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 19, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100000000', 'id': '100000000', 'name': 'mcsim_sild_dbg', 'path': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg', 'symbolFilePath': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg.dSYM/Contents/Resources/DWARF/mcsim_sild_dbg', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:32:37,622 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 20, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': 'Process exited with code -1.\n'}}
2024-02-13 18:32:37,622 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 21, 'type': 'event', 'event': 'exited', 'body': {'exitCode': -1}}
2024-02-13 18:32:37,623 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 22, 'type': 'event', 'event': 'terminated', 'body': {}}
2024-02-13 18:36:47,029 - DEBUG - debug_session.py:618 - 0 - Stop debug adapter with callback: _Reset
2024-02-13 18:36:47,031 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "disconnect", "arguments": {}, "seq": 7, "type": "request"}
2024-02-13 18:36:47,032 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 23, 'type': 'response', 'request_seq': 7, 'success': True, 'command': 'disconnect'}
2024-02-13 18:36:47,032 - DEBUG - debug_session.py:1522 - 0 - Setting server exit handler before disconnect
2024-02-13 18:36:47,039 - INFO - debug_session.py:2047 - 0 - The server has terminated with status 0
2024-02-13 18:36:47,039 - DEBUG - debug_session.py:2065 - 0 - Running server exit handler
2024-02-13 18:36:47,039 - INFO - debug_session.py:660 - 0 - Debugging complete.
2024-02-13 18:36:47,039 - DEBUG - debug_session.py:663 - 0 - Clearing down UI
2024-02-13 18:36:58,984 - INFO - debug_session.py:226 - 0 - User requested start debug session with {'CommandLineArgs': '3', 'Executable': '../mcsim_sild_dbg', 'configuration': 'fullvararg'}
2024-02-13 18:36:58,985 - DEBUG - debug_session.py:187 - 0 - Reading configurations from: None
2024-02-13 18:36:58,985 - DEBUG - debug_session.py:187 - 0 - Reading configurations from: /Users/demichel/MDsimul++/.vimspector.json
2024-02-13 18:36:58,994 - DEBUG - debug_session.py:250 - 0 - Reading gadget config: /Users/demichel/.vim/plugged/vimspector/gadgets/macos/.gadgets.json
2024-02-13 18:36:59,003 - DEBUG - debug_session.py:250 - 0 - Reading gadget config: None
2024-02-13 18:36:59,004 - DEBUG - utils.py:633 - None - Returning Executable from the map for Executable with args ()
2024-02-13 18:36:59,004 - DEBUG - utils.py:633 - None - Returning CommandLineArgs from the map for CommandLineArgs with args ()
2024-02-13 18:36:59,004 - DEBUG - utils.py:684 - None - Put cwd into mapping for cwd with args ()
2024-02-13 18:36:59,004 - DEBUG - utils.py:633 - None - Returning cwd from the map for cwd with args ()
2024-02-13 18:36:59,004 - DEBUG - utils.py:633 - None - Returning gadgetDir from the map for gadgetDir with args ()
2024-02-13 18:36:59,004 - DEBUG - utils.py:684 - None - Put unusedLocalPort into mapping for unusedLocalPort with args ()
2024-02-13 18:36:59,004 - DEBUG - utils.py:633 - None - Returning unusedLocalPort from the map for unusedLocalPort with args ()
2024-02-13 18:36:59,004 - DEBUG - utils.py:633 - None - Returning workspaceRoot from the map for workspaceRoot with args ()
2024-02-13 18:36:59,004 - DEBUG - utils.py:633 - None - Returning unusedLocalPort from the map for unusedLocalPort with args ()
2024-02-13 18:36:59,004 - INFO - debug_session.py:483 - 0 - Configuration: {"adapter": "CodeLLDB", "breakpoints": {"exception": {"cpp_throw": "Y", "cpp_catch": "N"}}, "configuration": {"request": "launch", "program": "../mcsim_sild_dbg", "args": ["3"], "stopAtEntry": true, "cwd": "/Users/demichel/MDsimul++/softionicduplexes/PROVE"}}
2024-02-13 18:36:59,004 - INFO - debug_session.py:485 - 0 - Adapter: {"command": ["/Users/demichel/.vim/plugged/vimspector/gadgets/macos/CodeLLDB/adapter/codelldb", "--port", "62881"], "configuration": {"args": [], "cargo": {}, "cwd": "/Users/demichel/MDsimul++", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb"}, "name": "CodeLLDB", "port": "62881", "type": "CodeLLDB"}
2024-02-13 18:36:59,005 - DEBUG - debug_session.py:1201 - 0 - min_width/height: 149/50, actual: 185/64 - result: horizontal
2024-02-13 18:36:59,014 - DEBUG - debug_session.py:1785 - 0 - LAUNCH!
2024-02-13 18:36:59,014 - INFO - debug_session.py:1400 - 0 - Starting debug adapter with: {"command": ["/Users/demichel/.vim/plugged/vimspector/gadgets/macos/CodeLLDB/adapter/codelldb", "--port", "62881"], "configuration": {"args": [], "cargo": {}, "cwd": "/Users/demichel/MDsimul++", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb"}, "name": "CodeLLDB", "port": "62881", "type": "CodeLLDB"}
2024-02-13 18:36:59,014 - DEBUG - debug_session.py:1419 - 0 - Connection Type: channel
2024-02-13 18:36:59,228 - INFO - debug_session.py:1503 - 0 - Debug Adapter Started
2024-02-13 18:36:59,229 - 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-13 18:36:59,430 - 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-13 18:36:59,430 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "launch", "arguments": {"args": ["3"], "cargo": {}, "cwd": "/Users/demichel/MDsimul++/softionicduplexes/PROVE", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb", "request": "launch", "program": "../mcsim_sild_dbg", "stopAtEntry": true}, "seq": 1, "type": "request"}
2024-02-13 18:36:59,431 - 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-13 18:36:59,449 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 3, 'type': 'event', 'event': 'initialized'}
2024-02-13 18:36:59,449 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "setFunctionBreakpoints", "arguments": {"breakpoints": []}, "seq": 2, "type": "request"}
2024-02-13 18:36:59,430 - 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-13 18:36:59,430 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "launch", "arguments": {"args": ["3"], "cargo": {}, "cwd": "/Users/demichel/MDsimul++/softionicduplexes/PROVE", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb", "request": "launch", "program": "../mcsim_sild_dbg", "stopAtEntry": true}, "seq": 1, "type": "request"}
2024-02-13 18:36:59,431 - 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-13 18:36:59,449 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 3, 'type': 'event', 'event': 'initialized'}
2024-02-13 18:36:59,449 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "setFunctionBreakpoints", "arguments": {"breakpoints": []}, "seq": 2, "type": "request"}
2024-02-13 18:36:59,449 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "setExceptionBreakpoints", "arguments": {"filters": ["cpp_throw"]}, "seq": 3, "type": "request"}
2024-02-13 18:36:59,450 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 4, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': 'FFFFFFFFFFFFFFFF', 'id': 'FFFFFFFFFFFFFFFF', 'name': 'mcsim_sild_dbg', 'path': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg', 'symbolFilePath': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg.dSYM/Contents/Resources/DWARF/mcsim_sild_dbg', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:36:59,451 - 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=62888'], 'cwd': '', 'kind': 'integrated', 'title': 'lldb'}}
2024-02-13 18:36:59,451 - DEBUG - debug_session.py:1964 - 0 - Defaulting working directory to /Users/demichel/MDsimul++
2024-02-13 18:36:59,454 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"seq": 4, "type": "response", "request_seq": 5, "command": "runInTerminal", "body": {"processId": 95174}, "success": true}
2024-02-13 18:36:59,454 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 6, 'type': 'response', 'request_seq': 2, 'success': True, 'command': 'setFunctionBreakpoints', 'body': {'breakpoints': []}}
2024-02-13 18:36:59,454 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 7, 'type': 'response', 'request_seq': 3, 'success': True, 'command': 'setExceptionBreakpoints'}
2024-02-13 18:36:59,455 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "configurationDone", "seq": 5, "type": "request"}
2024-02-13 18:36:59,460 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 8, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': 'Launching: /Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg 3\n'}}
2024-02-13 18:36:59,887 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 9, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': 'Launched process 95175\n'}}
2024-02-13 18:36:59,887 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 10, 'type': 'response', 'request_seq': 1, 'success': True, 'command': 'launch'}
2024-02-13 18:36:59,887 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 11, 'type': 'event', 'event': 'module', 'body': {'module': {'id': '100000000', 'name': ''}, 'reason': 'removed'}}
2024-02-13 18:36:59,888 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 12, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100118000', 'id': '100118000', 'name': 'dyld', 'path': '/usr/lib/dyld', 'symbolFilePath': '/usr/lib/dyld', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:36:59,888 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 13, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100000000', 'id': '100000000', 'name': 'mcsim_sild_dbg', 'path': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg', 'symbolFilePath': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg.dSYM/Contents/Resources/DWARF/mcsim_sild_dbg', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:36:59,888 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 14, 'type': 'event', 'event': 'continued', 'body': {'allThreadsContinued': True, 'threadId': 1061485}}
2024-02-13 18:36:59,888 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 15, 'type': 'response', 'request_seq': 5, 'success': True, 'command': 'configurationDone'}
2024-02-13 18:36:59,888 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "threads", "seq": 6, "type": "request"}
2024-02-13 18:36:59,889 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 16, 'type': 'event', 'event': 'module', 'body': {'module': {'id': 'FFFFFFFFFFFFFFFF', 'name': ''}, 'reason': 'removed'}}
2024-02-13 18:36:59,889 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 17, 'type': 'response', 'request_seq': 6, 'success': True, 'command': 'threads', 'body': {'threads': [{'id': 1061485, 'name': '1: tid=1061485'}]}}
2024-02-13 18:36:59,891 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 18, '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-13 18:36:59,891 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 19, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100000000', 'id': '100000000', 'name': 'mcsim_sild_dbg', 'path': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg', 'symbolFilePath': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg.dSYM/Contents/Resources/DWARF/mcsim_sild_dbg', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:36:59,893 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 20, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': 'Process exited with code -1.\n'}}
2024-02-13 18:36:59,893 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 21, 'type': 'event', 'event': 'exited', 'body': {'exitCode': -1}}
2024-02-13 18:36:59,893 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 22, 'type': 'event', 'event': 'terminated', 'body': {}}
2024-02-13 18:37:19,664 - DEBUG - debug_session.py:618 - 0 - Stop debug adapter with callback: _Reset
2024-02-13 18:37:19,665 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "disconnect", "arguments": {}, "seq": 7, "type": "request"}
2024-02-13 18:37:19,666 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 23, 'type': 'response', 'request_seq': 7, 'success': True, 'command': 'disconnect'}
2024-02-13 18:37:19,666 - DEBUG - debug_session.py:1522 - 0 - Setting server exit handler before disconnect
2024-02-13 18:37:19,672 - INFO - debug_session.py:2047 - 0 - The server has terminated with status 0
2024-02-13 18:37:19,672 - DEBUG - debug_session.py:2065 - 0 - Running server exit handler
2024-02-13 18:37:19,672 - INFO - debug_session.py:660 - 0 - Debugging complete.
2024-02-13 18:37:19,672 - DEBUG - debug_session.py:663 - 0 - Clearing down UI
2024-02-13 18:37:34,042 - INFO - debug_session.py:226 - 0 - User requested start debug session with {'CommandLineArgs': '3', 'Executable': '../mcsim_sild_dbg', 'configuration': 'fullvararg'}
2024-02-13 18:37:34,042 - DEBUG - debug_session.py:187 - 0 - Reading configurations from: None
2024-02-13 18:37:34,043 - DEBUG - debug_session.py:187 - 0 - Reading configurations from: /Users/demichel/MDsimul++/.vimspector.json
2024-02-13 18:37:34,053 - DEBUG - debug_session.py:250 - 0 - Reading gadget config: /Users/demichel/.vim/plugged/vimspector/gadgets/macos/.gadgets.json
2024-02-13 18:37:34,065 - DEBUG - debug_session.py:250 - 0 - Reading gadget config: None
2024-02-13 18:37:34,065 - DEBUG - utils.py:633 - None - Returning Executable from the map for Executable with args ()
2024-02-13 18:37:34,065 - DEBUG - utils.py:633 - None - Returning CommandLineArgs from the map for CommandLineArgs with args ()
2024-02-13 18:37:34,065 - DEBUG - utils.py:684 - None - Put cwd into mapping for cwd with args ()
2024-02-13 18:37:34,065 - DEBUG - utils.py:633 - None - Returning cwd from the map for cwd with args ()
2024-02-13 18:37:34,065 - DEBUG - utils.py:633 - None - Returning gadgetDir from the map for gadgetDir with args ()
2024-02-13 18:37:34,065 - DEBUG - utils.py:684 - None - Put unusedLocalPort into mapping for unusedLocalPort with args ()
2024-02-13 18:37:34,066 - DEBUG - utils.py:633 - None - Returning unusedLocalPort from the map for unusedLocalPort with args ()
2024-02-13 18:37:34,066 - DEBUG - utils.py:633 - None - Returning workspaceRoot from the map for workspaceRoot with args ()
2024-02-13 18:37:34,066 - DEBUG - utils.py:633 - None - Returning unusedLocalPort from the map for unusedLocalPort with args ()
2024-02-13 18:37:34,066 - INFO - debug_session.py:483 - 0 - Configuration: {"adapter": "CodeLLDB", "breakpoints": {"exception": {"cpp_throw": "Y", "cpp_catch": "N"}}, "configuration": {"request": "launch", "program": "../mcsim_sild_dbg", "args": ["3"], "stopAtEntry": true, "cwd": "/Users/demichel/MDsimul++/softionicduplexes/PROVE"}}
2024-02-13 18:37:34,066 - INFO - debug_session.py:485 - 0 - Adapter: {"command": ["/Users/demichel/.vim/plugged/vimspector/gadgets/macos/CodeLLDB/adapter/codelldb", "--port", "62962"], "configuration": {"args": [], "cargo": {}, "cwd": "/Users/demichel/MDsimul++", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb"}, "name": "CodeLLDB", "port": "62962", "type": "CodeLLDB"}
2024-02-13 18:37:34,066 - DEBUG - debug_session.py:1201 - 0 - min_width/height: 149/50, actual: 185/64 - result: horizontal
2024-02-13 18:37:34,075 - DEBUG - debug_session.py:1785 - 0 - LAUNCH!
2024-02-13 18:37:34,076 - INFO - debug_session.py:1400 - 0 - Starting debug adapter with: {"command": ["/Users/demichel/.vim/plugged/vimspector/gadgets/macos/CodeLLDB/adapter/codelldb", "--port", "62962"], "configuration": {"args": [], "cargo": {}, "cwd": "/Users/demichel/MDsimul++", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb"}, "name": "CodeLLDB", "port": "62962", "type": "CodeLLDB"}
2024-02-13 18:37:34,076 - DEBUG - debug_session.py:1419 - 0 - Connection Type: channel
2024-02-13 18:37:34,289 - INFO - debug_session.py:1503 - 0 - Debug Adapter Started
2024-02-13 18:37:34,290 - 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-13 18:37:34,485 - 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-13 18:37:34,485 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "launch", "arguments": {"args": ["3"], "cargo": {}, "cwd": "/Users/demichel/MDsimul++/softionicduplexes/PROVE", "env": {}, "name": "lldb", "terminal": "integrated", "type": "lldb", "request": "launch", "program": "../mcsim_sild_dbg", "stopAtEntry": true}, "seq": 1, "type": "request"}
2024-02-13 18:37:34,486 - 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-13 18:37:34,503 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 3, 'type': 'event', 'event': 'initialized'}
2024-02-13 18:37:34,503 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "setFunctionBreakpoints", "arguments": {"breakpoints": []}, "seq": 2, "type": "request"}
2024-02-13 18:37:34,503 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "setExceptionBreakpoints", "arguments": {"filters": ["cpp_throw"]}, "seq": 3, "type": "request"}
2024-02-13 18:37:34,504 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 4, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': 'FFFFFFFFFFFFFFFF', 'id': 'FFFFFFFFFFFFFFFF', 'name': 'mcsim_sild_dbg', 'path': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg', 'symbolFilePath': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg.dSYM/Contents/Resources/DWARF/mcsim_sild_dbg', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:37:34,505 - 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=62969'], 'cwd': '', 'kind': 'integrated', 'title': 'lldb'}}
2024-02-13 18:37:34,505 - DEBUG - debug_session.py:1964 - 0 - Defaulting working directory to /Users/demichel/MDsimul++
2024-02-13 18:37:34,508 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"seq": 4, "type": "response", "request_seq": 5, "command": "runInTerminal", "body": {"processId": 95192}, "success": true}
2024-02-13 18:37:34,508 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 6, 'type': 'response', 'request_seq': 2, 'success': True, 'command': 'setFunctionBreakpoints', 'body': {'breakpoints': []}}
2024-02-13 18:37:34,508 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 7, 'type': 'response', 'request_seq': 3, 'success': True, 'command': 'setExceptionBreakpoints'}
2024-02-13 18:37:34,508 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "configurationDone", "seq": 5, "type": "request"}
2024-02-13 18:37:34,514 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 8, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': 'Launching: /Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg 3\n'}}
2024-02-13 18:37:34,932 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 9, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': 'Launched process 95193\n'}}
2024-02-13 18:37:34,932 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 10, 'type': 'response', 'request_seq': 1, 'success': True, 'command': 'launch'}
2024-02-13 18:37:34,932 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 11, 'type': 'event', 'event': 'module', 'body': {'module': {'id': '100000000', 'name': ''}, 'reason': 'removed'}}
2024-02-13 18:37:34,932 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 12, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100118000', 'id': '100118000', 'name': 'dyld', 'path': '/usr/lib/dyld', 'symbolFilePath': '/usr/lib/dyld', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:37:34,932 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 13, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100000000', 'id': '100000000', 'name': 'mcsim_sild_dbg', 'path': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg', 'symbolFilePath': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg.dSYM/Contents/Resources/DWARF/mcsim_sild_dbg', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:37:34,932 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 14, 'type': 'event', 'event': 'continued', 'body': {'allThreadsContinued': True, 'threadId': 1061799}}
2024-02-13 18:37:34,933 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 15, 'type': 'response', 'request_seq': 5, 'success': True, 'command': 'configurationDone'}
2024-02-13 18:37:34,933 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "threads", "seq": 6, "type": "request"}
2024-02-13 18:37:34,514 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 8, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': 'Launching: /Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg 3\n'}}
2024-02-13 18:37:34,932 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 9, 'type': 'event', 'event': 'output', 'body': {'category': 'console', 'output': 'Launched process 95193\n'}}
2024-02-13 18:37:34,932 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 10, 'type': 'response', 'request_seq': 1, 'success': True, 'command': 'launch'}
2024-02-13 18:37:34,932 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 11, 'type': 'event', 'event': 'module', 'body': {'module': {'id': '100000000', 'name': ''}, 'reason': 'removed'}}
2024-02-13 18:37:34,932 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 12, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100118000', 'id': '100118000', 'name': 'dyld', 'path': '/usr/lib/dyld', 'symbolFilePath': '/usr/lib/dyld', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:37:34,932 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 13, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100000000', 'id': '100000000', 'name': 'mcsim_sild_dbg', 'path': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg', 'symbolFilePath': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg.dSYM/Contents/Resources/DWARF/mcsim_sild_dbg', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:37:34,932 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 14, 'type': 'event', 'event': 'continued', 'body': {'allThreadsContinued': True, 'threadId': 1061799}}
2024-02-13 18:37:34,933 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 15, 'type': 'response', 'request_seq': 5, 'success': True, 'command': 'configurationDone'}
2024-02-13 18:37:34,933 - DEBUG - debug_adapter_connection.py:205 - 0 - Sending Message: {"command": "threads", "seq": 6, "type": "request"}
2024-02-13 18:37:34,934 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 16, 'type': 'event', 'event': 'module', 'body': {'module': {'id': 'FFFFFFFFFFFFFFFF', 'name': ''}, 'reason': 'removed'}}
2024-02-13 18:37:34,934 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 17, 'type': 'response', 'request_seq': 6, 'success': True, 'command': 'threads', 'body': {'threads': [{'id': 1061799, 'name': '1: tid=1061799'}]}}
2024-02-13 18:37:34,936 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 18, '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-13 18:37:34,936 - DEBUG - debug_adapter_connection.py:266 - 0 - Message received: {'seq': 19, 'type': 'event', 'event': 'module', 'body': {'module': {'addressRange': '100000000', 'id': '100000000', 'name': 'mcsim_sild_dbg', 'path': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg', 'symbolFilePath': '/Users/demichel/MDsimul++/softionicduplexes/mcsim_sild_dbg.dSYM/Contents/Resources/DWARF/mcsim_sild_dbg', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}}
2024-02-13 18:37:34,991 - 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-13 18:37:34,992 - 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-13 18:37:34,992 - 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-13 18:37:34,993 - 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-13 18:37:34,993 - 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-13 18:37:34,993 - 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-13 18:37:34,993 - 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-13 18:37:34,993 - 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-13 18:37:34,993 - 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-13 18:37:34,993 - 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-13 18:37:34,993 - 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-13 18:37:34,993 - 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-13 18:37:34,994 - 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-13 18:37:34,994 - 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-13 18:37:34,994 - 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-13 18:37:34,994 - 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-13 18:37:34,994 - 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-13 18:37:34,994 - 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-13 18:37:34,994 - 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-13 18:37:34,994 - 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-13 18:37:34,994 - 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'}}

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

3.12.2 (main, Feb 6 2024, 20:19:44) [ Clang 15.0.0 (clang-1500.1.0.2.5) ]

Neovim diagnostics

No response

Operating System

Darwin MacBook-Pro-10.local 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

cridemichel commented 7 months ago

POSSIBLE FIX

As suggested in the discussion https://github.com/vadimcn/codelldb/discussions/456#discussioncomment-874122, by deleting the file "debugserver", i.e. from the vimspector directory (.vim/plugged/vimspector) by doing:

❯ rm gadgets/macos/CodeLLDB/lldb/bin/debugserver

the issue is fixed!

best C.

puremourning commented 7 months ago

Known issue with codelldb builds, nothing I can do about that.