This tutorial describes basic scenarios of debugging Data Parallel C++ (DPC++), OpenMP™, and OpenCL™ applications on a CPU and a GPU using Intel® Distribution for GDB*.
Check the Get Started Guide and complete all setup steps depending on whether you aim at debugging on a CPU or a GPU.