Recent

Author Topic: address to source line  (Read 7471 times)

BeniBela

  • Hero Member
  • *****
  • Posts: 905
    • homepage
address to source line
« on: January 12, 2007, 06:31:10 pm »
Hi,
how can I convert a given address in a program to a source line? (of course I have the source).
And the instructions are not moved through stripping, are they?

BeniBela

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: address to source line
« Reply #1 on: January 12, 2007, 08:27:41 pm »
Use the BackTraceStrFunc function to convert an address to a string.

I don't think the instructions are moved by stripping. Of course the line info is removed by stripping.

BeniBela2

  • Newbie
  • Posts: 2
RE: address to source line
« Reply #2 on: February 12, 2007, 08:17:54 pm »
Thank you.

 

TinyPortal © 2005-2018