SyntaxFix
Write A Post
Hire A Developer
Questions
Once gdb starts, you can run the program using "r args".
gdb
So if you are running your code by:
$ executablefile arg1 arg2 arg3
Debug it on gdb by:
$ gdb executablefile (gdb) r arg1 arg2 arg3