gdb.vim


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2015-07-21
使用用户:  1
Github星:  5
插件作者:  dbgx

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'dbgx/gdb-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'dbgx/gdb-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'dbgx/gdb-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/dbgx/gdb.vim

Ⅳ. 文档说明

# GDB Vim Frontend

Warning: Under development. Development currently stalled due to issues with Vim.

This plugin provides GDB debugger integration for Vim ([demo gif]) featuring:

  • Elaborate view of debugger state
  • Event-based, non-blocking UI
  • Jump to code from Backtrace or Threads windows
  • Define commands to replay when switching between modes (code <-> debug)

This plugin takes advantage of Vim's job API.

Prerequisites

Installation

  1. Using a plugin manager such as vim-plug:

        Plug 'dbgx/gdb.vim'

Alternatively, clone this repo, and add the following line to your vimrc:

    set rtp+=/path/to/gdb.vim

Goals

The plugin is being developed keeping 3 broad goals in mind:

  • Ease of use: Users with almost zero knowledge of command line debuggers should feel comfortable using this plugin.
  • Completeness: Experienced users of GDB should not feel restricted.
  • Customizability: Users should be able to bend this plugin to their needs.

FAQ

添加新评论