Have you tried to use GDB from emacs? It's like Visual Studio
However, I do use Emacs with GUD and it works okay. If you are addicted to VI-style editing (like myself), you can use viper.
You'll want to add some keybinding to your .emacs. The following are the VS6 bindings I use:
;; Add VisualStudio-style debugging keys
;; Add convenient "until" command to gdb mode (swiped off the web)
(add-hook `gdb-mode-hook
(lambda ()
(gud-def gud-until "until %f:%l" "C-u" "Execute until current line.")))
;; Add a "jump" command (supposed to have been included in gud.el)(add-hook `gdb-mode-hook
(lambda ()
(gud-def gud-jump "tbreak %f:%l\njump %f:%l" "\C-j" "Relocate next instruction to line at point in source buffer.")))
(global-set-key [f9] 'gud-break)(global-set-key [f11] 'gud-step)
(global-set-key [f10] 'gud-next)
(global-set-key [f5] 'gud-cont)
(global-set-key [\S-f11] 'gud-finish)
(global-set-key [\C-f10] 'gud-until)
(global-set-key [\C-\S-f10] 'gud-jump) ; Equivalent to VC's Set Next Statement