Results 1 to 3 of 3
I've been...trying to debug with gdb, but this one line-at-a-time thing is frustrating! Is there a way I can do a live debugging session while in Vim? Thanks!...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-11-2006 #1
Debugging with Vim
Thanks!Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794
- 04-13-2006 #2
Originally Posted by Javasnob
- Join Date
- Apr 2006
- 04-19-2006 #3
Well, it could be frustrating....
But gdb has much more than line-at-line features. Try the break command to set a breakpoint, e.g. break my_function
Then you can type "run" and your program will be stopped at that function. Moreover, step 20 will execute 20 lines insted executing only one....
gdb is powerful... and dificult... maybe you want to try ddd (gdb front end)?