JCL Help:MapOfAddr

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the file name, unit name, procedure name and line number given an address.


Pascal

 function MapOfAddr(const Addr: Pointer; var File_: string; var Module_: string; var Proc_: string; var Line_: Integer): Boolean;


Parameters

Parameters Description
const Addr: Pointer The address for which you want to know the location information.
_File File name of the routine specified by Level
_Module Unit name of the routine specified by Level
_Proc Procedure name of the routine specified by Level
_Line Line number of the routine specified by Level


Return Value

Returns True if the information was found, otherwise False.


Description

__MAP_OF_ADDR__ combines the __FILE_OF_ADDR__, __MODULE_OF_ADDR__, __PROC_OF_ADDR__ and __LINE_OF_ADDR__ routines into a single call.


See Also

FileByLevel ModuleByLevel ProcByLevel LineByLevel MapByLevel FileOfAddr ModuleOfAddr ProcOfAddr LineOfAddr


About

Unit

JclDebug


Donator

Petr Vones


Notes

Usage of this function requires building the module with a detailed map file. Use the Linker tab in the Project Options dialog to enable creation of a map file.


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