Code Monkey home page Code Monkey logo

vimgdb-for-vim7.3's Introduction

About this patch

This is a vim(v7.3) patch to provide Gdb support within Vim, It's modified from vimgdb72-1.14 (http://clewn.sourceforge.net/)

Introduction

The patch vimgdb implements full gdb support in the vim editor: breakpoints, watch variables, gdb command completion, assembly windows, etc.

vimgdb install

  1. You need:

vim-7.3.tar.bz2 http://www.vim.org/sources.php

vimgdb-for-vim7.3 (this patch) https://github.com/larrupingpig/vimgdb-for-vim7.3

  1. Untar all files, apply the patch and make Vim:

tar xjvf vim-7.3.tar.bz2 -C /tmp

tar xzvf vimgdb-for-vim7.3.tar.gz -C /tmp

cd /tmp

patch -p0 < vimgdb-for-vim7.3/vim73.patch

cd vim73/src

make

sudo make install

IMPORTANT NOTE: you must run make (not ./configure), and if you run ./configure then you must add the --enable-gdb command line argument in order to include the gdb feature (vimgdb) in vim.

  1. Install vimGdb runtime:

Copy the file vimgdb_runtime found in the vimgdb tarball, to your runtime path. To find your runtime path location execute the vim command (this is usually $HOME/.vim): :set runtimepath?

cp -rf /tmp/vimgdb-for-vim7.3/vimgdb_runtime/* ~/.vim

Change to the doc directory, start Vim and run the ":helptags ." command to process the taglist help file. Without this step, you cannot jump to the taglist help topics. You can now use the ":help vimgdb" command to get the vimGdb documentation.

vimgdb-for-vim7.3's People

Contributors

cpiger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vimgdb-for-vim7.3's Issues

gdb-variables window cannot open correctly

I have complied your patch and installed the vimGdb_runtime just follow your guidance. The problem is it just splite a window that names /current/path/gdb-variables when i type :bel 30vsplit gdb-variables in vim. After that, if i select a variable , then type C-p, it will show viariable value in current window (code window), but gdb-variables window.
Screenshot of two gdb-variables window is below
2015-05-26-130529_1365x690_scrot
Actually, it has works very well when i first install it for a moment. But the problem just pop up after i modified the macros/gdb_mappings.vim(only remember is i modified the gdb_mappipngs.vim, a little key remap). I'm not sure whether is that cuase this problem. The gdb-variables window has work once i reinstall vim_7.3 whith patch and vimGdb_runtime, but it down again just a little moment. It cannot work even i try to retreat all modifies. I also have tried to reinstall both vim7.3 and vim7.4 with your patch as well as vimGdb_runtime for many times, its just not work now.
The environment of my computer is Debian_7.8_64bit, vim_7.3, gdb_7.4.1, gcc_4.7.2.
I have google it, seems no one have this problem. So maybe i have done something bad, but i donot remember what i have done! I love this plugin, if you know how to fix it, please please tell me!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.