puremourning / vimspector

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

Breakpoint sign doesn't show up when airblade/vim-gitgutter is installed #257

Closed tmtakashi closed 4 years ago

tmtakashi commented 4 years ago

DO NOT DELETE THIS TEMPLATE. IF YOU DELETE THIS TEMPLATE AND DO NOT COMPLETE IT, YOUR ISSUE WILL BE CLOSED.

Describe the bug

Provide A clear and concise description of what the bug is.

Minimal reproduciton

Please answer the following questions

  1. Run vim -Nu /path/to/vimspector/support/minimal_vimrc
  2. edit minimal_vimrc to install vim-gitgutter
  3. Press

Use the following Vimspector config file:

{
  "configurations": {
      "Launch": {
          "adapter": "vscode-cpptools",
          "configuration": {
              "request": "launch",
              "program": "/Applications/REAPER64.app/Contents/MacOS/REAPER",
              "args": [],
              "cwd": "/Applications/REAPER64.app/Contents/MacOS",
              "environment": [],
              "externalConsole": true,
              "MIMode": "lldb"
          }
      }
  }
}

Expected behaviour

Provide A clear and concise description of what you expected to happen. A breakpoint sign shows up

Actual behaviour

What actually happened, including output, log files etc. Nothing shows up, but it can be confirmed that breakpoints are actually added when doing :call vimspector#ListBreakpoints()

Please include:

  • Vimspector log (~/.vimspector.log)
  • Output from any or all UI diagnostic tabs (Server, etc.)
    2020-09-13 21:43:46,719 - INFO - **** INITIALISING NEW VIMSPECTOR SESSION ****
    2020-09-13 21:43:46,719 - INFO - API is:
    2020-09-13 21:43:46,719 - INFO - VIMSPECTOR_HOME = /Users/takashiminagawa/.vim/plugged/vimspector
    2020-09-13 21:43:46,723 - INFO - gadgetDir = /Users/takashiminagawa/.vim/plugged/vimspector/gadgets/macos
    2020-09-13 21:43:46,724 - DEBUG - Toggle found bp at /Users/takashiminagawa/src/github.com/tmtakashi/3d-guitar-amp-renderer/PluginProcessor.cpp:121 ? False (New)
    2020-09-13 21:43:47,536 - DEBUG - Toggle found bp at /Users/takashiminagawa/src/github.com/tmtakashi/3d-guitar-amp-renderer/PluginProcessor.cpp:121 ? True (Disable)
    2020-09-13 21:43:47,666 - DEBUG - Toggle found bp at /Users/takashiminagawa/src/github.com/tmtakashi/3d-guitar-amp-renderer/PluginProcessor.cpp:121 ? True (Delete)

    Environemnt

NOTE: NeoVim is supported only on a best-effort basis. Please check the README for limitations of neovim. Don't be offended if I ask you to reproduce issues in Vim.

NOTE: Windows support is experimental and best-efrort only. If you find an issue related to Windows or windows-isms, consider sending a PR or discussing on Gitter rather than raising an issue.

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Aug 31 2020 01:14:10)
macOS version
Included patches: 1-1550
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               -farsi             +mouse_sgr         +tag_binary
+arabic            +file_in_path      -mouse_sysmouse    -tag_old_static
+autocmd           +find_in_path      +mouse_urxvt       -tag_any_white
+autochdir         +float             +mouse_xterm       -tcl
-autoservername    +folding           +multi_byte        +termguicolors
-balloon_eval      -footer            +multi_lang        +terminal
+balloon_eval_term +fork()            -mzscheme          +terminfo
-browse            +gettext           +netbeans_intg     +termresponse
++builtin_terms    -hangul_input      +num64             +textobjects
+byte_offset       +iconv             +packages          +textprop
+channel           +insert_expand     +path_extra        +timers
+cindent           +ipv6              +perl              +title
-clientserver      +job               +persistent_undo   -toolbar
+clipboard         +jumplist          +popupwin          +user_commands
+cmdline_compl     +keymap            +postscript        +vartabs
+cmdline_hist      +lambda            +printer           +vertsplit
+cmdline_info      +langmap           +profile           +virtualedit
+comments          +libcall           -python            +visual
+conceal           +linebreak         +python3           +visualextra
+cryptv            +lispindent        +quickfix          +viminfo
+cscope            +listcmds          +reltime           +vreplace
+cursorbind        +localmap          +rightleft         +wildignore
+cursorshape       +lua               +ruby              +wildmenu
+dialog_con        +menu              +scrollbind        +windows
+diff              +mksession         +signs             +writebackup
+digraphs          +modify_fname      +smartindent       -X11
-dnd               +mouse             -sound             -xfontset
-ebcdic            -mouseshape        +spell             -xim
+emacs_tags        +mouse_dec         +startuptime       -xpm
+eval              -mouse_gpm         +statusline        -xsmp
+ex_extra          -mouse_jsbterm     -sun_workshop      -xterm_clipboard
+extra_search      +mouse_netterm     +syntax            -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang   -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/readline/lib  -L/usr/local/lib -o vim        -lncurses -liconv -lintl -framework AppKit  -L/usr/local/opt/lua/lib -llua5.3 -mmacosx-version-min=10.15 -fstack-protector-strong -L/usr/local/lib  -L/usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc  -L/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/config-3.8-darwin -lpython3.8 -framework CoreFoundation  -lruby.2.7
/usr/local/bin/vim
3.8.5 (default, Aug  7 2020, 15:54:12)
[Clang 11.0.0 (clang-1100.0.33.17)]
paste here

Declaration

Please complete the following declaration. If this declaration is not completed, your issue may be closed without comment.

Additional information

Add any other context about the problem here.

puremourning commented 4 years ago

No steps to reproduce, closing.

Please also see this: https://github.com/puremourning/vimspector#sign-priority which is likely the solution.