COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Program trace
|
|
Breakpoint
|
|
Stub
|
|
Value watching
|
Detailed explanation-1: -The ‘start’ command does the equivalent of setting a temporary breakpoint at the beginning of the main procedure and then invoking the ‘run’ command. Some programs contain an elaboration phase where some startup code is executed before the main procedure is called.
Detailed explanation-2: -Use the STOP command to stop system functions and jobs in execution. Note that you can communicate with the currently running program only if it was designed to recognize the STOP command.
Detailed explanation-3: -In CDB, the q (Quit) command should be used to exit. CTRL+B should only be used if the debugger is not responding.
Detailed explanation-4: -To run the program under the debugger program, use the gdb r(un) command.