Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using this information, I've been able to debug code using dbx and display the code from within Vim.

What would be really cool is if I could send commands (step, next, print, stop in ... etc) to dbx from within Vim. I am relatively new to Unix so do not know of any way to do this.

Does anyone know how to send commands to dbx in this way? For example, sending commands to dbx from a separate process, or running dbx as a server?

share|improve this question

You can execute shell commands in vim using the command: :!foo -fooparam

You can insert the output of shell commands similarly using: :r!foo -fooparam

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.