Can't execute my first C++ program on VScode : gdb launch error

Anonymous
2024-03-11T14:30:08.66+00:00

Hi,

I am trying to run my first program on VScode.

I am getting the gdb launch error (Select a debug configuration). This happens when I click the trainagle for running the C++ program.

Somebody please guide me.

I have added the image

gdb launch error

Zulfi.

Developer technologies | C++
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2024-03-11T15:14:09.2066667+00:00

    Did you install the GNU compiler?

    https://www.gdbtutorial.com/tutorial/how-install-gdb


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.