4.3.7 OutputDebugString

The OutputDebugString function belongs to the API of Microsoft Windows® and sends a string to the debugger for display. Consult a documentation about Microsoft Windows® to learn more.

You can adapt Ascolog Insight to analyze the messages created by the OutputDebugString function. This is demonstrated by the OutputDebugString layout. In order to access these messages it is necessary to schedule the Search and Refresh task AND to enable task scheduling (see chapter Task Scheduling). By default these settings will be made by the OutputDebugString layout. Figure 4.5 shows the required settings of the Scheduled Tasks dialog.

The paths in the Schedule Tasks dialog are relative to the folder where Ascolog Insight stores its data. The location of the data folder depends on the installation method you used for installing Ascolog Insight. How to find the data folder is described in How to Install.

Scheduled Tasks dialog
Scheduled Tasks dialog

In the “OutputDebugString.ini” file that is located in the “PLUGIN_CFG” folder (see example The default “OutputDebugString.ini” from the "PLUGIN_CFG" folder) you can configure a limit for the number of messages that shall be retrieved from the OutputDebugString log. Do not confuse the “OutputDebugString.ini” file of the layout which is located in the “OutputDebugString” layout folder with the “OutputDebugString.ini file from the “PLUGIN_CFG” folder.

max_records = 100000

Example 1: The default “OutputDebugString.ini” from the "PLUGIN_CFG" folder