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] Xcode has some excellent debugging capabilities. Let's take them for a test drive. If you have a project still open, please close it. Go file. Close project. Now we're going to go file new project. MacOS, command line, next. This app we're going to call temperature. Next. This seems like a good place to put it. Create. Now we're going to open the Finder window. Well first let's bring up main.cpp. Bring up a Finder window. And we're going to go desktop, exercise file. We're going to go to 06.04. Begin. And I'm going to do a command A to select this file. And a command C to copy it. Then we're going to come back to Xcode. I'm going to right-click the temperature folder. The one that holds our main.cpp file. And I'm going to click show in Finder. And we can see our main.cpp file right there. And what I'm going to do is do a command V to copy the other one on top of it and say replace. Now I'm going to return to Xcode. I'm going to do a build. And right here it's looking…

Contents