Closed dataO1 closed 4 years ago
Describe the bug When running the debug mode in vimspector, all windows are empty and i get the error message:
Can't send message: Job is not running
To Reproduce List of steps to reproduce
Vimspector config file:
{ "adapters": { "hda": { "name": "haskell-debug-adapter", "command": [ "haskell-debug-adapter", "--hackage-version=0.0.31.0" ] } }, "configurations": { "haskell-debug-adapter: Launch": { "adapter": "hda", "configuration": { "type": "ghc", "request": "launch", "name": "haskell-debug-adapter", "internalConsoleOptions": "openOnSessionStart", "workspace": "${workspaceRoot}", "startup": "${workspaceRoot}/app/Main.hs", "startupFunc": "", "startupArgs": "", "stopOnEntry": false, "mainArgs": "", "ghciPrompt": "H>>= ", "ghciInitialPrompt": "Prelude>", "ghciCmd": "stack ghci --test --no-load --no-build --main-is TARGET --ghci-options -fprint-evld-with-show", "ghciEnv": {}, "logFile": "${workspaceRoot}/hdx4vim.log", "logLevel": "WARNING", "forceInspect": false } } } }
Expected behavior Launch the debug view and load all the windows with corresponding information.
Actual behaviour See above.
Please include:
cat .vimspector.log 2020-02-04 22:40:54,322 - INFO - **** INITIALISING NEW VIMSPECTOR SESSION **** 2020-02-04 22:40:54,322 - INFO - API is: neo 2020-02-04 22:40:54,322 - INFO - VIMSPECTOR_HOME = /home/daniel/.config/nvim/plugged/vimspector 2020-02-04 22:40:54,324 - INFO - gadgetDir = /home/daniel/.config/nvim/plugged/vimspector/gadgets/linux 2020-02-04 22:40:54,327 - DEBUG - Toggle found bp at /home/daniel/Documents/projects/lolhub/backend/app/Main.hs:50 ? False (New) 2020-02-04 22:40:56,379 - INFO - User requested start debug session with {} 2020-02-04 22:40:56,380 - DEBUG - Reading gadget config: /home/daniel/.config/nvim/plugged/vimspector/gadgets/linux/.gadgets.json 2020-02-04 22:40:56,381 - DEBUG - Reading gadget config: None 2020-02-04 22:40:56,382 - INFO - Configuration: {"adapter": "hda", "configuration": {"type": "ghc", "request": "launch", "name": "haskell-debug-adapter", "internalConsoleOptions": "openOnSessionStart", "workspace": "/home/daniel/Documents/projects/lolhub/backend", "startup": "/home/daniel/Documents/projects/lolhub/backend/app/Main.hs", "startupFunc": "", "startupArgs": "", "stopOnEntry": false, "mainArgs": "", "ghciPrompt": "H>>= ", "ghciInitialPrompt": "Prelude>", "ghciCmd": "stack ghci --test --no-load --no-build --main-is TARGET --ghci-options -fprint-evld-with-show", "ghciEnv": {}, "logFile": "/home/daniel/Documents/projects/lolhub/backend/hdx4vim.log", "logLevel": "WARNING", "forceInspect": false}} 2020-02-04 22:40:56,382 - INFO - Adapter: {"name": "haskell-debug-adapter", "command": ["haskell-debug-adapter", "--hackage-version=0.0.31.0"]} 2020-02-04 22:40:56,669 - INFO - Starting debug adapter with: {"name": "haskell-debug-adapter", "command": ["haskell-debug-adapter", "--hackage-version=0.0.31.0"]} 2020-02-04 22:40:56,670 - INFO - Debug Adapter Started 2020-02-04 22:40:56,670 - DEBUG - Sending Message: {"command": "initialize", "arguments": {"adapterID": "haskell-debug-adapter", "clientID": "vimspector", "clientName": "vimspector", "linesStartAt1": true, "columnsStartAt1": true, "locale": "en_GB", "pathFormat": "path", "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true}, "seq": 0, "type": "request"} 2020-02-04 22:40:56,671 - DEBUG - Calling: vimspector#internal#neojob#Send(g:vimspector_internal_arg_0) 2020-02-04 22:41:11,673 - DEBUG - Timeout: Aborting request {'command': 'initialize', 'arguments': {'adapterID': 'haskell-debug-adapter', 'clientID': 'vimspector', 'clientName': 'vimspector', 'linesStartAt1': True, 'columnsStartAt1': True, 'locale': 'en_GB', 'pathFormat': 'path', 'supportsVariableType': True, 'supportsVariablePaging': False, 'supportsRunInTerminalRequest': True}, 'seq': 0, 'type': 'request'} 2020-02-04 22:41:11,673 - INFO - User Msg: Request for initialize aborted: Timeout
Environemnt Neovim 0.4.3
vim --version
nvim --version
NVIM v0.4.3 Build type: Release LuaJIT 2.0.5 Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim/src/build/config -I/build/neovim/src/neovim-0.4.3/src -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/build/neovim/src/build/include Compiled by builduser Features: +acl +iconv +tui See ":help feature-compile" system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim" Run :checkhealth for more info
which vim
which nvim
/usr/bin/nvim
:py3 pass
nothing
:py3 import vim
:checkhealth
All ok, but ruby not installed
Did you get it to work? I haven’t tried the Haskell debug adapter ...
Don’t suppose there was anything in the ‘server’ log? :VimspectorShowOutput server or in hdx4vim.log maybe?
:VimspectorShowOutput server
Describe the bug When running the debug mode in vimspector, all windows are empty and i get the error message:
To Reproduce List of steps to reproduce
Vimspector config file:
Expected behavior Launch the debug view and load all the windows with corresponding information.
Actual behaviour See above.
Please include:
Environemnt Neovim 0.4.3
vim --version
ornvim --version
which vim
orwhich nvim
::py3 pass
::py3 import vim
::checkhealth