(6 intermediate revisions by 4 users not shown) | |||
Line 9: | Line 9: | ||
* nothing in window pop ups (window is empty). --May 12, 2014 |
* nothing in window pop ups (window is empty). --May 12, 2014 |
||
− | ==Installation== |
+ | ==Installation problem== |
Conque GDB does not support installation through Vim bundle. |
Conque GDB does not support installation through Vim bundle. |
||
+ | ---- |
||
− | |||
Download the latest conque_gdb.vmb file and install using the installation instructions given at the scripts page in the link at the top. --May 17, 2014 |
Download the latest conque_gdb.vmb file and install using the installation instructions given at the scripts page in the link at the top. --May 17, 2014 |
||
+ | ---- |
||
− | |||
⚫ | |||
− | == not bundle installation == |
||
⚫ | |||
When I run Vim I get following: |
When I run Vim I get following: |
||
Line 31: | Line 30: | ||
</pre> |
</pre> |
||
--May 19, 2014 |
--May 19, 2014 |
||
+ | ---- |
||
⚫ | |||
⚫ | |||
+ | ---- |
||
+ | '''Answer''' Empting ~/.vim folder helped. While I still get this message |
||
+ | <pre> |
||
+ | Error detected while processing function conque_gdb#load_python..<SNR>13_get_gdb_command..<SNR>13_get_unix_gdb: |
||
+ | </pre> |
||
+ | when starting vim I get a gdb console in separate window when I type :ConqueGdb. |
||
+ | |||
+ | <pre> |
||
+ | VIM - Vi IMproved 7.4 (2013 Aug 10, compiled May 12 2014 12:21:23) |
||
+ | Included patches: 1-179 |
||
+ | Modified by <bugzilla@redhat.com> |
||
+ | Compiled by <bugzilla@redhat.com> |
||
+ | Huge version without GUI. Features included (+) or not (-): |
||
+ | +acl +farsi +mouse_netterm +syntax |
||
+ | +arabic +file_in_path +mouse_sgr +tag_binary |
||
+ | +autocmd +find_in_path -mouse_sysmouse +tag_old_static |
||
+ | -balloon_eval +float +mouse_urxvt -tag_any_white |
||
+ | -browse +folding +mouse_xterm -tcl |
||
+ | ++builtin_terms -footer +multi_byte +terminfo |
||
+ | +byte_offset +fork() +multi_lang +termresponse |
||
+ | +cindent +gettext -mzscheme +textobjects |
||
+ | -clientserver -hangul_input +netbeans_intg +title |
||
+ | -clipboard +iconv +path_extra -toolbar |
||
+ | +cmdline_compl +insert_expand +perl +user_commands |
||
+ | +cmdline_hist +jumplist +persistent_undo +vertsplit |
||
+ | +cmdline_info +keymap +postscript +virtualedit |
||
+ | +comments +langmap +printer +visual |
||
+ | +conceal +libcall +profile +visualextra |
||
+ | +cryptv +linebreak +python +viminfo |
||
+ | +cscope +lispindent -python3 +vreplace |
||
+ | +cursorbind +listcmds +quickfix +wildignore |
||
+ | +cursorshape +localmap +reltime +wildmenu |
||
+ | +dialog_con -lua +rightleft +windows |
||
+ | +diff +menu -ruby +writebackup |
||
+ | +digraphs +mksession +scrollbind -X11 |
||
+ | -dnd +modify_fname +signs -xfontset |
||
+ | -ebcdic +mouse +smartindent -xim |
||
+ | +emacs_tags -mouseshape -sniff -xsmp |
||
+ | +eval +mouse_dec +startuptime -xterm_clipboard |
||
+ | +ex_extra +mouse_gpm +statusline -xterm_save |
||
+ | +extra_search -mouse_jsbterm -sun_workshop -xpm |
||
+ | system vimrc file: "/etc/vimrc" |
||
+ | user vimrc file: "$HOME/.vimrc" |
||
+ | 2nd user vimrc file: "~/.vim/vimrc" |
||
+ | user exrc file: "$HOME/.exrc" |
||
+ | fall-back for $VIM: "/etc" |
||
+ | f-b for $VIMRUNTIME: "/usr/share/vim/vim74" |
||
+ | Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 |
||
+ | Linking: gcc -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -Wl,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim -lm -lnsl -lselinux -lncurses -lacl -lattr -lgpm -ldl -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -fstack-protector -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -L/usr/lib64/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic |
||
+ | |||
+ | GNU gdb (GDB) Fedora 7.6.1-46.fc19 |
||
+ | Copyright (C) 2013 Free Software Foundation, Inc. |
||
+ | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> |
||
+ | This is free software: you are free to change and redistribute it. |
||
+ | There is NO WARRANTY, to the extent permitted by law. Type "show copying" |
||
+ | and "show warranty" for details. |
||
+ | This GDB was configured as "x86_64-redhat-linux-gnu". |
||
+ | For bug reporting instructions, please see: |
||
+ | <http://www.gnu.org/software/gdb/bugs/>. |
||
+ | </pre> |
||
+ | |||
+ | --August 28, 2014 |
||
+ | ---- |
||
+ | '''Suggestion''' What if you add the following line in your .vimrc ? |
||
+ | <pre> |
||
+ | set shell=/bin/sh |
||
+ | </pre> |
||
+ | ---- |
||
==Comments== |
==Comments== |
||
⚫ | |||
⚫ |
Revision as of 08:27, 28 August 2014
Use this page to discuss script 4582 Conque GDB: GDB command line interface and terminal emulator
- Add constructive comments, bug reports, or discuss improvements (see the guideline).
- Do not document the script here (the author should do that on vim.org).
- This page may be out of date: check the script's vim.org page above, and its release notes.
Problem
Vim compiled with static python support + python included in gdb.
When running this command inside Vim: ConqueGdb test
- new window is created
- this is launched:
gdb -f -x /home/user/.vim/bundle/Conque-GDB/autoload/conque_gdb/conque_gdb_gdb.py -x /home/user/.vim/bundle/Conque-GDB/autoload/conque_gdb/gdbinit_confirm.gdb test - 1 [FORMAT=unix] [TYPE=] [100%][POS=0:0/1]
- nothing in window pop ups (window is empty). --May 12, 2014
Installation problem
Conque GDB does not support installation through Vim bundle.
Download the latest conque_gdb.vmb file and install using the installation instructions given at the scripts page in the link at the top. --May 17, 2014
not bundle installation I did as you said. I've deleted ~/.vim/bundle/Conque-GDB* and installed from conque_gdb.vmb.
When I run Vim I get following:
Error detected while processing function conque_gdb#load_python..<SNR>27_get_gdb_command..<SNR>27_get_unix_gdb: line 10: E484: Cannot open file /tmp/vosS3EQ/0
In Vim when I type :ConqueGdb
I get the same result as described in "Problem".
I can get rid of this message when I change escaping to:
conque_gdb.vim:315 let l:gdb_py_support = system(l:gdb_exe . ' -q -batch -ex ''python print("PYYES")'' ')
--May 19, 2014
Question Can you give me the output of "gdb -v" and output of "vim --version"? What happens if you install conque gdb and no other plugins, e.g. with an empty .vim folder?
Answer Empting ~/.vim folder helped. While I still get this message
Error detected while processing function conque_gdb#load_python..<SNR>13_get_gdb_command..<SNR>13_get_unix_gdb:
when starting vim I get a gdb console in separate window when I type :ConqueGdb.
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled May 12 2014 12:21:23) Included patches: 1-179 Modified by <bugzilla@redhat.com> Compiled by <bugzilla@redhat.com> Huge version without GUI. Features included (+) or not (-): +acl +farsi +mouse_netterm +syntax +arabic +file_in_path +mouse_sgr +tag_binary +autocmd +find_in_path -mouse_sysmouse +tag_old_static -balloon_eval +float +mouse_urxvt -tag_any_white -browse +folding +mouse_xterm -tcl ++builtin_terms -footer +multi_byte +terminfo +byte_offset +fork() +multi_lang +termresponse +cindent +gettext -mzscheme +textobjects -clientserver -hangul_input +netbeans_intg +title -clipboard +iconv +path_extra -toolbar +cmdline_compl +insert_expand +perl +user_commands +cmdline_hist +jumplist +persistent_undo +vertsplit +cmdline_info +keymap +postscript +virtualedit +comments +langmap +printer +visual +conceal +libcall +profile +visualextra +cryptv +linebreak +python +viminfo +cscope +lispindent -python3 +vreplace +cursorbind +listcmds +quickfix +wildignore +cursorshape +localmap +reltime +wildmenu +dialog_con -lua +rightleft +windows +diff +menu -ruby +writebackup +digraphs +mksession +scrollbind -X11 -dnd +modify_fname +signs -xfontset -ebcdic +mouse +smartindent -xim +emacs_tags -mouseshape -sniff -xsmp +eval +mouse_dec +startuptime -xterm_clipboard +ex_extra +mouse_gpm +statusline -xterm_save +extra_search -mouse_jsbterm -sun_workshop -xpm system vimrc file: "/etc/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/etc" f-b for $VIMRUNTIME: "/usr/share/vim/vim74" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -Wl,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim -lm -lnsl -lselinux -lncurses -lacl -lattr -lgpm -ldl -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -fstack-protector -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -L/usr/lib64/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic GNU gdb (GDB) Fedora 7.6.1-46.fc19 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>.
--August 28, 2014
Suggestion What if you add the following line in your .vimrc ?
set shell=/bin/sh