On 06/8/12 3:26, Rainer Stratmann wrote:
procedure p1;
begin
  ...
end;



How to get all caller adresses of p1 in a program before p1 is executed?

For example p1 is called from 20 different places in a program.
Then I need the 20 caller adresses.

if by address you mean line number, then use the Find In Files dialog. Close all files in the Source Editor except the one containing p1 procedures.
In the "Text to Find" field type p1.
In the "Where" radiogroup select "Search all open files".
Should give you a list of every occurrence of p1.

Howard

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to