How to pass command line arguments?

Sysprogs forums Forums VisualGDB How to pass command line arguments?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #759
    Anonymous
    Participant

    Hi,

    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.

    Thanks.

    #2998
    ket
    Participant

    Hi,

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.