- Compiler your c/c++ code with -g flag. if not, gdb may not find symbol
- Open your source file which one with main()
- Insert following
:ConqueGdbSplit executeFileName
- In ConqueGdb, type run
argument which follow executeFileName
- Type
b 34
to add breakpoint at line 34 in your source code - Type
r
to run program again, will stop if you set breakpoint - Type
s
to run step by step (as step-in ) - Type
c
to continue
vim graph01.c
# following commands are usedin Vim
:ConqueGdbSplit graph01
run gr01_test.in > out.txt or only run gr01_test.in
b 37
r
s
c
Vundle
is a vim plugin manager to help you management plugins in Vim.