Introduction

WinGDB is an extension of the Visual Studio Debugger. It allows you to debug:

directly from Visual Studio using the GNU debugger (GDB) as a backend.

To achieve this goal, WinGDB performs the following actions:

WinGDB is designed to be as easy and convenient as possible. If you are familiar with Visual Studio Debugger, you won't need much additional learning. Most features work exactly the same way. However, there are some platform-related differences and additional concepts specific to Unix operating systems (e.g. signal handling). This manual contains sections explaining such subjects. For quick start, please read the followng sections.

Requirements and installation

Prerequisites

Describes the requirements that both your local system (Windows-based) and remote system (Unix-based) should meet.

Installation

Describes the installation process.

Product registration

Explains how to handle with license and register product.

Release notes

Release notes of all published versions.

Demo version

Describes the limitations of demo version.

Basic configuration and usage

Working with projects

Explains how to store WinGDB settings in Visual C++ projects and solutions.

General configuration

Explains general development options that should be configured first.

Remote Linux development

Explains how to use WinGDB to develop and debug applications remotely on desktop/server Linux machines.

Indirect Linux development

Explains how to use WinGDB to develop and debug applications indirectly (with gdbserver) on desktop/server Linux machines.

MinGW / Cygwin development

Explains how to use WinGDB to develop and debug Windows applications using MinGW or Cygwin tools.

Embedded Linux development

Explains how to use WinGDB to develop and debug embedded or mobile Linux applications.

Embedded device development

Explains how to use WinGDB to develop and debug embedded "bare metal" devices using OpenOCD.

Palm webOS device development

Explains how to use WinGDB to develop and debug native applications for Palm webOS mobile devices.

Reference

Attaching to remote process

Explains how to attach to a process on remote host and start debugging.

Launching remote and local Cygwin/MinGW-compiled programs

Explains how to launch a process on remote host (or local host when using Cygwin/MinGW) and start debugging.

Launching X11 processes

Explains how to launch a X11 process on remote host with a connection to local X-server.

Examining remote core dump

Explains how to examine a core dump on remote host.

Map source directories

Explains how to map source directories between different locations/hosts.

Remote build

Explains how to run build on remote machine.

Visualizers

Explains how to use complex data type visualizers (e.g. for STL containers).

Editing remote files

WinGDB also allows to use the Visual Studio editor to edit remote source files. This section explains how to use this feature.

Debugging Cygwin programs

Explains how to configure WinGDB for Cygwin support.

Preferences

Describes configuration options for WinGDB.

Custom initialization script

Explains how to write custom scripts.

Visual Studio tips

Working with IntelliSense

Describes how to configure your project to be able to use IntelliSense.
Copyright (C) 2008-2010 WinGDB.com. All rights reserved.