I'm trying to debug process with GDB from Eclipse (CDT). I can start debugging, step on code and so on. So, basic setup seems to work.
However, I don't understand how to pass command line arguments to process. Executable is not built with Eclipse, I use separate make files.
Steps I have taken to debug:
- Run -> Debug configurations -> Select C/C++ attach to application -> New.
- Press Debug -> Select processes dialog is shown.
- Press new -> File explorer is opened and I'm able to select correct executable (once again: built outside of Eclipse)
- After that execution stops to the beginning of main and I'm able to start debugging. BUT without command line arguments.
So, how I pass command line arguments for attached new application in scenario above?
Thanks in advance!