JCL Help:LineOfAddr

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the line number given an address.


Pascal

 function LineOfAddr(const Addr: Pointer): Integer;


Parameters

Parameters Description
const Addr: Pointer The address for which you want to know the line number.


Return Value

Line number at which the address is defined.


Description

__LINE_OF_ADDR__ returns the line number in a source code file given an address.


See Also

FileByLevel ModuleByLevel ProcByLevel LineByLevel MapByLevel FileOfAddr ModuleOfAddr ProcOfAddr MapOfAddr


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