Table of Contents

Working with projects

WinGDB allows to store most of its settings for Visual C++ project. When you click the right mouse button on a project name inside Solution Explorer, a context menu appears. There is a sub-menu 'WinGDB' containing several options:

After activating the 'Properties' option, a dialog will appear allowing you to set the values of most parameters related to debugging and building with WinGDB. These settings are remembered for each project.

The 'Properties' option also exists for the solution, providing defaults for options not set for specific project. In the Properties dialog the options which have been set for this specific project are marked bold. The remaining options which have default values (usually inherited from the solution) are displayed in gray color. If some option has not been set both in the project nor the solution, it takes some global default value, either empty, or inherited from the main Preferences settings.

After setting the parameters, you can easily start debugging using the "Start instance", "Attach to process" or "Examine core" options. The first one quickly starts the debugging, using settings saved for the project. The latter ones show usual "Attach" and "Examine core" dialogs, initialized with project settings. You can override these settings for particular session.

The "Remote build' option starts the remote build for the selected project.

The following options accessible from the WinGDB main menu are also project-aware: 'Start debugging', 'Launch process', 'Attach to process', 'Examine core' and 'Remote build'. These options however take settings from the Startup project (the one marked bold in the Solution Explorer), not the selected one.

All settings take into account currently set configuration and platform. You can enter different settings for each configuration / platform you have.

Table of Contents


Copyright (C) 2008-2010 WinGDB.com. All rights reserved.