RSM Debug File (*.rsm)

From Appmethod Topics
Jump to: navigation, search

Go Up to File Types Index

When you build a Object Pascal project for 32-bit Windows, 64-bit Windows, or Mac OS X, and the Include remote debug symbols option in Project > Options > Object Pascal Compiler > Linking is NewerTrueCheckbox.png, Appmethod generates an RSM debug file.

Symbol tables contain information for the debugger such as the mapping of machine instructions to source line numbers or the names and types of variables declared in the source files. When you debug Object Pascal projects locally, Appmethod does not use your RSM debug file because the compiler holds the symbol tables in memory. However, when you debug Object Pascal projects remotely, you must generate an RSM debug file that contains those symbol tables; otherwise, Appmethod does not stop at your breakpoints.

Note: For iOS Device, iOS Simulator, and Android, the Object Pascal compiler generates the debug information inside the executable. You do not need an RSM debug file for these platforms.

The file name of the RSM debug file is:

  • <project>.rsm for 32-bit Windows and 64-bit Windows.
  • <project>.dylib.rsm for Mac OS X.

When you build your Object Pascal project, your RSM debug file is generated by default into the following folder:

  • In packages:
    • For 32-bit Windows: C:\Users\Public\Documents\Embarcadero\Studio\17.0\Bpl
    • For other platforms: C:\Users\Public\Documents\Embarcadero\Studio\17.0\Bpl\<platform>
    Note: You do not need a package RSM debug file to debug packages.
  • For other projects: C:\Users\<user>\Documents\Embarcadero\Studio\Projects\<project>\<platform>\<build configuration>

To change the output directory, use the Package output directory or Output directory option in Project > Options > Object Pascal Compiler.

See Also