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 151613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:28:39+00:00 2026-05-11T09:28:39+00:00

If the release version produces .pdb files and you can step into every line,

  • 0

If the release version produces .pdb files and you can step into every line, put breakpoints etc then why ever bother to build a ‘debug’ version of my components?

I’m using c# for my projects and i didn’t have problem debugging release versions. In C++ i had problems debugging optimized code but in C# it works fine. I’m not talking about silly code blocks like if(false)…

  • 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. 2026-05-11T09:28:39+00:00Added an answer on May 11, 2026 at 9:28 am

    One reason is attach vs. launch.

    If you launch a Retail process in .Net, the debugging is almost nearly as good as launching a Debug process. You will likely not notice any difference in your debugging experience.

    Attach is a completely different ball game. Both C# and VB are passed the /optimize+ flag for retail builds. This will embed the DebuggableAttribute at the assembly level without the DebuggingMode.DisableOptimizations flag. During a process launch, VS / CLR, will communicate to essentially ignore this fact and disable JIT optimizationss that impact debugging. During attach, no such item happens and the JIT/CLR will optimize to it’s hearts content. I guarantee you, the debugging experience is much worse in this case.

    You can experiment with this in VS

    • Switch build to Release
    • CTRL+F5 to launch with no debugging
    • Attach to the process.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When do you think we can expect the full release version of ASP.NET MVC?
My release script produces images of the version number to save me the trouble
I downloaded a pre-release version of the iPhone SDK and tried to update one
I just downloaded the release version of MVC 2, pretty excited about that! Problem
Using the release version of Visual Studio 2010 I think there's a difference in
I want to deploy the release version of my application done in C#. When
I have downloaded the ASP.NET MVC 2 Release version (using Web Platform Installer) as
We are about to release beta version of our website. Lately we have seen
According to the official release statement version 1.4 has been re-written to be compressed
I have a version number of the following form: version.release.modification where version, release and

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.