Message Logs
Message Logs is a part of DA-C which manages the messages generated by the DA-C components, as well as the messages generated by the integrated external tools through User-Defined Actions (UDA). On the basis of the generated messages, Message Logs allows easy positioning at the exact point in the code which the message refers to. The Message Logs window consists of two parts: informational, in which the messages are displayed, and a status bar on which summary data are shown.
The informational part consists of one or more tabs (segments), depending on the DA-C components activated. Logically, these tabs can be divided into two groups: standard and user-defined.
Message Logs (docked mode)
The Standard tabs are:
Static Code Analysis
MISRA C Compliance
Naming Convention
Source Code Metrics
Makefile Generator
User-Defined Actions
Documentation Generator
Project ImporterYou can add own tabs using the
%ErrGet
macro in User-Defined Actions. In these tabs, it is possible to display messages from any file generated by the external tools. The contents of the own tabs may be deleted by the use of%ErrClr
in User-Defined Actions. You can remove any tab from the Message Logs window by click theicon on the tab. The contents of each tab can be saved as a text file in the following manner: select the desired tab, then choose the File > Save As command on the main menu.
Each tab is divided into six columns:
Message classification. Certain types of messages have the following classification:
Warning messages
Error messages
Global warning messages
Global error messages
Fatal error messages
"File" – the name of the file which the message refers to. If this field is empty, the message is of global character.
"Line" – the line which the message refers to.
"Function" – the name of the function which the message refers to. If this field is empty, the message refers to the module.
"Message" – the message text.
"Note" – the column in which you can write any note concerning the message from the same row.
Double-clicking a message referring to any source file opens Editors quickly and efficiently, or activates open ones. If this message refers to a particular line number, the insertion point in the open Editor will be positioned at the beginning of that line. If instead of a "Line" column, there is a "Function" column, the insertion point column in the Editor will be positioned at the beginning of the first line of the given function.
Clicking in the "Note" column of an already selected message opens a field in which you can write a note about the selected message. This note is saved until the module to which the message belongs is analyzed anew.
The part of a source code containing a message can be reached using the Search / Next Message and Search / Previous Message menu commands.
"User-Defined Actions Output" tab and "Command Shell" tab are described in "User-Defined Actions"
Copyright © 1993-2022, RistanCASE PR