title: Can I generate a .RSM file myself for the Delphi Debugger to use?
body: <p>I wish to debug executables for which I have no code, using the Delphi Debugger. </p>
  
  <p>WinDBG and other debuggers are no option in this case, as the given executables all call into my DLL, for which I <em>do</em> have code, obviously. My ultimate goal is, to see a stack-trace right down into the functions of the running executable.</p>
  
  <p>I do have symbol-information for these executables, so I was hoping I could write my own .RSM files for this purpose. Will this work? Will the Delphi debugger pick up any .RSM file that it can find? And would that mean that other debug-information should be left out?</p>
  
  <p>Do note that there are lots of executables that I need to debug, and for all of them I detect the symbols inside them myself, using a moderately advanced function-detection algorithm. So my main problem mainly is how to write .RSM files. For this I have to know the structure of the .RSM file-format. Is there documentation or example code available somewhere that shows me how to create such a file?</p>
  
  <p>Any help is appreciated!</p>
  
  <p>PS: Might you be wondering why I'm doing all this : It's all related to <a href="http://sourceforge.net/projects/dxbx/" rel="nofollow noreferrer">Dxbx</a> - an open-source Xbox1 emulator. See sourceforce for details. New members are welcome!</p>