Please enable JavaScript to view this site.

Memory Validator Help

Debug information can be provided using two methods.

 

Debugging information (TDS format)

 

MAP files

 

 

Debugging Information

 

Debug configurations of Delphi projects automatically generate debug information that provides symbols, filenames and line numbers.

 

However the release configurations of Delphi projects do not automatically generate debug information. You need to configure that yourself.
 
Here's how you do that.

 

You need to set both compiler and linker settings to get debug information. Setting just one or the other will not give you debug information you can use.

 

 

32 bit Delphi

 

Project Configuration

 

Change your project settings to target 32 bit builds.

 

 DelphiRelease_x86

 

Compiler Settings

 

 DelphiCompilerOptions_x86

 

Linker Settings

 

 DelphiLinkerOptions_x86

 

 

When you have edited the project options you need to rebuild the software for the options to take effect and create the debug information.

 

 

64 bit Delphi

 

Project Configuration

 

Change your project settings to target 64 bit builds.

 

 DelphiRelease_x64

 

Compiler Settings

 

 DelphiCompilerOptions_x64

 

Linker Settings

 

 DelphiLinkerOptions_x64

 

 

When you have edited the project options you need to rebuild the software for the options to take effect and create the debug information.

 

 

MAP files

 

MAP files are not generated by default. You need to enable the option to generate a detailed map file.

 

The method is the same for 32 bit and 64 bit Delphi.

 

Select the project configuration as shown in the Debugging Information section above, then modify the Delphi Compiler, Linking settings.

 

Linker Settings

 

 Delphi_x64_Map

 

 

When you have edited the project options you need to rebuild the software for the options to take effect and create the debug information.

 

 

Debugging Information or MAP files?

 

If you can create both debugging information and MAP files which should I use?

 

Memory Validator uses this information to provide symbols, filenames and line numbers in stack traces.
 
For this purpose it doesn't matter whether you use Debugging Information or MAP files.