Error Reporting
You can introduce errors as described in each of the following steps and note the response from the SDx IDE.
-
Open the source file main.cpp from the src folder and remove the semicolon at the end of the
std::coutstatement near the bottom of the file.Notice that a yellow box shows up on the left edge of the line.

- Move your cursor over the yellow box and notice that it tells you that you have a missing semicolon.
- Insert the semicolon at the right place and notice how the yellow box disappears.
-
Now change
std::couttostd::couand notice how a pink box shows up on the left edge of the line.
-
Move the cursor over the pink box to see a popup displaying the “corrected” version of the line with
std::coutinstead ofstd::cou.
-
Correct the previous error by changing
std::coutostd::cout. -
Introduce a new error by commenting out the line that declares all the variables used in
main().
- Save and build the project. Do not wait for the build to complete.
-
You can see the error messages scrolling by on the console. Open the Release/_sds/reports/sds_main.log and Release/_sds/reports/sds_mmult.log files to see the detailed error reports.

- Uncomment the line where the variables are declared.