From the course: C++ IDE Overview

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Debugging

Debugging

From the course: C++ IDE Overview

Start my 1-month free trial

Debugging

- [Instructor] Now we get to put the debugger through its paces. Going to right click on the workspace, to a new, new project. We're going to choose a simple executable g++. Next we're going to name this project temperature. Click next. We're going to verify that we have the GCC, GDB and default, click finish. We're going to go ahead and close this old main.cpp. Next, we are going to bring in a main CPP file from the exercise file. So we're going to go to file explorer, go to where we kept the exercise files, go to 02 04, 02 04 begin, select and then right click, then I'm going to copy, and I'm going to close this one. Next, I'm going to go to temperature, the project file, I'm going to right click on it, and I'm going to click on open containing folder, click here, and do a control v to copy the file, command v on the mac, and say replace the file in the destination, es, and now I can close this file explorer window, now I'm going to go build, clean workspace, now let's open up this…

Contents