Skip to content
This pluging lets you debug your applications with gdb from vim,
VimL
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
plugin
README

README

This is a mirror of http://www.vim.org/scripts/script.php?script_id=4103

Requirements

    GdbFromVim requires Vim 7.3+ compiled with Python support.
    Python 2.6+
    Gdblib - https://github.com/skibyte/gdblib

You can obtain the latest GdbFromVim development version from : https://github.com/skibyte/gdb-from-vim

Setting the application to debug:  let g:gdb_from_vim_app = 'application'
Settings the arguments for the application: let g:gdb_from_vim_args = 'arguments'
-------------------------------------------------------------------------------------------------------------
Commands
-------------------------------------------------------------------------------------------------------------
GdbFromVimRun:  This command starts the execution of the program.

GdbFromVimStep:  This commands steps into a function.

GdbFromVimNext:   This commands pass over a function.

GdbFromVimAddBreakpoint:  This command adds a breakpoint in the current line.

GdbFromVimDeleteBreakpoint:This command deletes the breakpoint specified by its number.

GdbFromVimDeleteAllBreakpoints: This command deletes all the breakpoints previously set.

GdbFromVimClear: This commands deletes the breakpoint in the current line.

GdbFromVimPrint: This command prints the value of a variable, it requires an argument, For example: GdbFromVimPrint point->x

GdbFromVimPrintBreakpoints:This command prints all the breakpoints set in the application, the values are printed in the quickfix list.
Something went wrong with that request. Please try again.