Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.672 Beiträge
 
#1

Getting the current line number in Delphi

  Alt 15. Mär 2024, 09:40
Note to self: There is an easy way to get the current line number in Delphi, using the following function and JclDebug: ReturnAddress is a compiler magic function in the system unit, introduced with Delphi XE2. TJclLocationInfo and GetLocationInfo are from JclDebug. Use it like this: Edit: JclDebug already contains a function LineByLevel which dos … <a href="https://blog.dummzeuch.de/2024/03/15/getting-the-current-line-number-in-delphi/" class="more-link">Continue reading
  Mit Zitat antworten Zitat