set args in visualgdb

Sysprogs forums Forums VisualGDB set args in visualgdb

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8148
    rodcoles
    Participant

    How do i set args in visual gdb, i have tried to put the following statement

    set args myarg1 myarg2 myarg3

    in the GDB startup commands, tried both the before and after box, but argc in my application is always 1.

    Any help would be appreciated.

    thanks,

    Rod

     

     

    #8149
    support
    Keymaster

    Hi,

    You can do that via the Debug Settings page (program arguments) or the VisualGDB toolbar. Let us know if you need more details.

    #8150
    rodcoles
    Participant

    Yes more details would be great, “Command Arguments” don’t work and GDB set args don’t work, please let me know where to find this setting.

    Kind regards,

    Rod

    #8151
    rodcoles
    Participant

    Nevermind i found it. Thanks!

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