One of the functions of the C # PDB type file: Record key information for specific exceptions, such as file path and line number

Source: Internet
Author: User

PDB is the abbreviation of program Debug Database;

Background

I'm in charge of a services (service) problem, because of a DLL internal logic problems;

After modifying the source code locally, rebuild the DLL (debug mode), then replace the DLL in the server with the latest, to see if the log is an error, and there is no PDB type file in services.

Unfortunately, also reported is wrong, and the contents are as follows:

The log does not indicate the exact location of the error! (Ps:updatequantity_efficient () method has more than 150 lines, uppercase embarrassment ... )

=========================================++++++++++++++++++++++++++++++======================================== =

Place the newly generated PDB file (same as the current DLL version) in the Services (service) project, and then view the log:

Have a specific location, the problem is solved;

Also, if the DLL and PDB versions are inconsistent, the line number of the prompt is not allowed.

One of the functions of the C # PDB type file: Record key information for specific exceptions, such as file path and line number

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.