I can’t find any way to pass command line arguments when starting debug session with VisualGDB, so main() argc and argv will contain these arguments.
I will appreciate any help.
For Linux and Windows projects go to View->Toolbars->VisualGDB. You can enter the arguments in the Executable Arguments field on our toolbar. You can also enter the arguments on the Debug settings page in VisualGDB Project Properties in the Main executable arguments field.