Host Debugging

CodeXL

PreviousNext
CodeXL User Guide
Help > Tutorials > GPU Debugger Tutorial > Host Debugging
Host Debugging

Host Debugging is currently only available in the following configurations:
1. Linux CodeXL Standalone application
2. Windows CodeXL Visual Studio extension [native (C/C++) 32-bit target apps only]
Other configurations support only API-Level debugging.

In the supported configurations, CodeXL allows Host debugging of any application, regardless of any APIs used.

The following features are supported:
1. Host source code breakpoints
2. Host stepping (step-in, step-over, step-out)
3. Host break
4. Host locals display
5. Host expression evaluation (watch window)

CodeXL provides information directly from the system's native debugger, supporting any code and debug information that is available as those debuggers.

In the CodeXL standalone application, the debug controls are located in the Execution toolbar, next to the "Start Debugging" and "Stop Debugging" buttons. Setting source code breakpoints is as simple as opening a source file (Ctrl+O) and clicking the margins (F9). The Locals and Watch views are shared between Host Debugging and Kernel Debugging for a seamless experience.

In the CodeXL Visual Studio extension, Visual Studio's built-in views are used, providing a debugging experience as close to Visual Studio's built-in debug engines as possible.