How to debug the SAF components
Beside the compiled libraries, the SAF is also shipped with its symbols and source code for debugging purpose. By doing a bit of configuration in your development environment, you'll be able to source step during debugging into the code of the SAF components that you use.
To configure Visual Studio 2013 for symbol / server use, follow these instructions:
- Go to Tools -> Options -> Debugging -> General.
- Uncheck "Enable Just My Code".
- Uncheck "Enable .NET Framework source stepping". Yes, it is misleading, but if you don't, then Visual Studio will ignore your custom symbol server order (see further on).
- Check "Enable source server support".
- Uncheck "Require source files to exactly match the original version".
- Go to Tools -> Options -> Debugging -> Symbols.
- Select a folder where the symbols / sources are cached locally.
- Add https://tfs.sartorius.com/symbols/WinDbg/pdb to the symbol servers under "Symbol file (.pdb) locations".