Untitled spreadsheet - Sheet1 Flashcards
(123 cards)
Fatal errors include simple errors in code that prevent compilation or errors that occur during run time.
T
Semantic errors are errors that cause applications to fail completely, such as simple error in code that prevent compilation.
F
CS allows you to build applications in what two configurations?
Debug & Release
Debug builds maintain symbolic information about your application.
T
How can you switch between the Debug and Release configurations in VS?
Using the Solution Configurations drop-down menu in the Standard toolbar.
In the release configuration application code is optimized. As a result Release builds will run much faster than Debug builds?
T
The process of identifying and fixing areas of code that don’t work as expected is known as what?
Debugging
What is the main advantage of using Release builds?
Release builds run faster
Debug.WriteLine() and Trace.WriteLine() only allow output of a single string?
T
There is one way to outpute debugging information?
F
An alternative to writing information to the output window is to use:
Debug.Write() & Trace.Write()
Tracepoints are a function of C#
F
Tracepoints serve the same function as using Debug.WriteLine(). They allow you to output debugging information without altering your code.
T
What does a tracepoint do?
Enabel youto output debugging information without modifying the code.
What does a tracepoint do?
Writes information to the output window.
Tracepoints have no equivalent to the trace commands. There is no way to output information in a Release build using tracepoints.
T
What is the disadvantage/advantage of tracepoints.
The tracepoint is stored in VS.
The simplest way to enter break mode is to click the Pause button in the IDE while an application is running
T
Trace commands are often the only option should you want output during execution of an application built in release mode.
T
What is a breakpoint?
A marker in the source code that triggers automatic entry into break mode.
When should you use a tracepoint?
When debugging an application to quickly output important information that may help resolve semantic errors.
While using debugging in Break Mode you can pause, stop, and restart the application?
T
A breakpoint appears as a blue circle next to the line of code.
F
Selecting Hit Count opens a dialog box where you can specify how many times a breakpoint needs to be hit before it is triggered. The drop down list enables what options?
Break always; hit count is =, %, >=