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] Let's check out debugging in CLion. Now we'll get to put the debugger through its paces. If you have a project open, go 'file', 'close project'. Click 'new project'. Give it the name 'Temperature'. Make sure it's C plus plus 14. Click 'create'. Now we're going to open up the File Explorer. We're going to go to our desktop, go to the Exercise Files. We are looking for folder 03_04. The 'Begin'. We're going to do a 'control-A' to select it. 'Control-C' to copy it. On the Mac, that would be 'command-A', 'command-C'. We can close this now. We're going to go to the temperature. We're going to expand it. We're going to select the 'main CPP', right click on it, and choose 'show in Explorer'. And right here, we're going to do a 'control-V', or a 'command-V' on the Mac. We're going to take the option 'replace the file in the destination'. And we can close this folder now. And we're going to go 'run', 'run temperature'. Alright, so we're going to come down here, and at the prompt…

Contents