Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8776549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:05:11+00:00 2026-06-13T19:05:11+00:00

When developing I understand why PDB files are build. But when I deploy my

  • 0

When developing I understand why PDB files are build.
But when I deploy my website for the production server the PDB files does still exists.
I dont’s understand why.

Should I delete them in production environment or leave them

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:05:12+00:00Added an answer on June 13, 2026 at 7:05 pm

    The PDB files allow Stack Traces of your code to be logged when your application throws an Unhandled Exception.

    If your website has CustomErrors in the web.config set to OFF then your erroring code will be visible to everybody. This is BAD.

    If your website has CustomErrors in the web.config set to ON or RemoteOnly then your erroring code will not be visible to the public, however you will be able to find the StackTrace in the server Event Log and this may help you to track down errors in your code. This is OK.

    If you delete the PDBs (or stop then from publishing via your project build/publish configuration) then your site will not log your code in your Stack Trace, however it will log other stack information. In any case, always set CustomErrors in the web.config to ON or RemoteOnly. Always Do this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing some additional stuff to the game server but I dont understand
I'm developing a little game (test) for Android, but I don't understand the logic
I'm developing a website that helps people understand rap lyrics. Users see the lyrics
I am developing a SIP client. I understand SIP requests and SIP responses but,
After developing for a few years (or more), I still do not understand: What
I'm developing a customized radio app for Spotify but I can't understand it's linking
I understand the basic concept of global, website and store scope. We are developing
I am still trying to understand now android layouts work. I am developing an
I am developing a website with a time-clock system and i understand if the
I'm developing a simple Text Editor to understand better PocketC language, then I've done

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.