Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Unix debugger

LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in C/C++test
Is it possible to change the default debugger from gdb to ddd?
Tagged:

Comments

  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    Hello palessi


    To change the debugger used, or the command-line used to invoke the currently-selected debugger:

    1. Choose Project> Project Configurations.
    2. Open the Build Settings> Instrumentation Settings tab.
    3. In the Advanced Options area, click Add to add a new entry to the Advanced Options table, then add the custom command line to the Options cell. Use the format testrunner.debuggerCommandLine <COMMAND_LINE>.
    * For example, to use the xxgdb debugger, use
    testrunner.debuggerCommandLine /usr/X11R6/bin/xterm -e xxgdb -x %s &
    To use the ddd debugger, use
    testrunner.debuggerCommandLine ddd -x %s &