JCL Help:TraceLocFmt

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Sends a formatted message to the debugger prepending it with location information.


Pascal

 procedure TraceLocFmt(const Fmt: string; const Args: array of const);


Parameters

Parameters Description
const Fmt: string Controls the formatting of the message.
const Args: array of const Arguments formatted under control of the Fmt string.


Description

TraceFmt sends a message, formatted from the supplied format string and arguments array, to the debugger, but first prepends it with the source file location information. The function uses the VCL Format() function to format the string and therefore you can use this function exactly like you would use Format(). See the Delphi help file for more information. See TraceLoc for an example output.


See Also

Trace TraceFmt TraceLoc


About

Unit

JclDebug


Donator

Marcel van Brakel


Notes

If you are running your application under the control of the debugger you can view these messages using the event log dialog, 'View | Debug Windows | Event Log'. If the application is not running under the debugger the message is sent to the system debugger. If there is no system debugger active the function does nothing.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page