I usually run a program as :

./a.out arg1 arg2 <file

I would like to debug it using gdb.

I am aware of the set args functionality, but that only works from the gdb prompt.

5 Answers
5

Leave a Reply

Your email address will not be published. Required fields are marked *