Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.