Debugger : The Set File, Set Output And Cancel Output Commands : SET OUTPUT Command : Format of a Log File

Format of a Log File

Each record in a log file is one of the following:

Only entered commands and various forms of the Debugger’s responses are recorded in the log file. Outputs produced by the prototype code itself (and printed on the screen and/or in a file) are not recorded in the log file.

While commands are recorded as entered, all Debugger messages are preceded by a double hyphen “--.”

For example, the following commands were entered in the debugging session:

Pdb > SET OUTPUT
Pdb > SET BREAK br reset
Pdb > SET TRACE EVENT
Pdb > GO
Pdb > SHOW DATA *bound
Pdb > SET DATA lower-bound := 25.0

The transcript of the session is recorded in the file debug.log and appears as follows:

SET BREAK br reset
SET TRACE EVENT
GO
-- Event ews:EXECUTE generated
-- Event ews:GO generated
-- Stopped at breakpoint BR on event: ews:RE
SET
SHOW DATA *bound
-- Current values of data_items:
-- system:LOWER_BOUND = 20.5
-- system:UPPER_BOUND = 84.7
SET DATA lower_bound := 25.0