Tuesday, May 14, 2013

Re: gVim - Integrated development environment

On 14.05.13 15:30, Tony Mechelynck wrote:
> On 14/05/13 12:31, contact.opc0de.fr@gmail.com wrote:
> >A plugin to use GDB and also to put Breakpoints from the lines of sources codes in gVim.
>
> you mean to run your compiled programs? Not sure about that. Of course as a
> prerequisite, the compiler & linker would have to produce symbol tables in a
> format that gdb understands. Wouldn't it be easier to run gdb in its own
> terminal window? If you put that and gvim in one [virtual] desktop you could
> switch between them by Alt-Tab.

Some "integration" is within vim, but most is through the compatibility
of unix tools. Over several decades, I've used vi/vim together with
"exuberant ctags" for that IDE-ish jumping to function definitions
across files, etc., within vim, and GDB or DDD in another terminal for
debugging. Just use "-g" with gcc, for dubug info, and source-line
debugging should be within your grasp.

Someone said long ago, "Unix is the IDE", and I've found it to be true.
(All the boxed-up commercial stuff lacks the unix mix & match freedom,
because they need to be monolithic, to keep you prisoner.)

Still, this:

http://vim.wikia.com/wiki/Use_Vim_like_an_IDE

was the first google match for "vim gdb integration". There may be
something there, if the freedom of separate xterms does not appeal.

...

> >A plugin to build/compile a project.

The tool is "make", preferably the gnu one:

$ make --version
GNU Make 3.8

For integration with vim: :help make

The O'Reilly "make" book is an easy way to get on top of it.

To avoid disappointment, it is worth remembering that we are talking
about Free Software. How you use the tools, and in what mix, is your
free choice. A new user has to break himself in, if he has only
used commercial packages previously.

Good luck with the new challenge! (It is certain to be stimulating, and
rewarding for the intellectually curious, and those who prefer freedom.)

Erik

--
Emacs is a nice OS - but it lacks a good text editor.
That's why I am using Vim. - Anonymous

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: