question about the stacktrace and method names

delphi package - automated exception handling
Post Reply
costab
Posts: 21
Joined: Thu Jan 09, 2014 3:02 am

question about the stacktrace and method names

Post by costab »

Hello:

I build the release version of our app and I noticed that in the bug report the stacktrace contains method names and some methods have even line numbers, even though I explicitly turned off the 'link in function names and line number'. Is it normal?

Thanks
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: question about the stacktrace and method names

Post by madshi »

madExcept gets them from the map file. So as long as you start your EXE in the folder it was compiled in, and the map/mad file is still in the same folder, you'll get the full information. Move the EXE file to another folder, or move the map/mad file to another folder, and this should stop working. The benefit of this behaviour is that during development you get the full information without having to go the extra mile, while when distributing your EXE, the method names and line numbers are not part of the distribution.
Post Reply