You are not logged in.
Pages: 1
I use simply code to decode memory address to method name:
s := TSynMapFile.FromCurrentExecutable.FindLocation(lMethodPtr);
Decoding works a little bit wrong, the given example returns this result:
Client.AccountsManager.Impl.AccountsManager.Impl.TAccountsManagerClient.GetAnyAccountLicenses (218)
while correctly it should be so:
Client.AccountsManager.Impl.TAccountsManagerClient.GetAnyAccountLicenses (218)
the underlined fragment of text is inserted twice, because unit is: Client.AccountsManager.Impl.pas and class name is TAccountsManagerClient
I use Delphi 10.3 and latest mORMot sources.
Offline
Should be fixed on mORMot 2 with https://github.com/synopse/mORMot2/comm … 045b008ebb
and mORMot 1 with https://github.com/synopse/mORMot/commi … 48a0e58b49
Offline
Pages: 1