Key Points

  • Private symbols are full symbols and have the most details, such as local variable names.

  • Public symbols have minimal information—just enough to basically re-create the call stack.

  • Source indexing a PDB file inserts a list of source files and the commands to retrieve those files from source control into the file.

  • Perform lightweight debugging with Visual Studio before using advanced tools. Check obvious things, such as the call stack, values of local variables, proper cleanup of resources, and so on.

  • ADPlus can use a configuration file, which is the –c option. This is useful for creating complex and reusable configurations.

  • Do not deploy a debug version of a Web application on a production machine. Place the <deployment retail="true"/> element in the web.config file to prevent this from happening inadvertently.

  • For Web applications, you can handle unhandled exceptions first at the page level and then at the application level.

  • Use MiniDumpWriteDump to write a dump programmatically.

  • Set worker process recycling in the application pool of IIS 7.0.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.238.134