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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:30:14+00:00 2026-05-13T15:30:14+00:00

Does anyone have any advice about extending our SVN & Cruise Control CI process

  • 0

Does anyone have any advice about extending our SVN & Cruise Control CI process to populate a Symbol Server?

We are trying to remotely debug test environments for our ASP.NET 2.0 C# website and have been running into problems getting the correct symbols to always load.

Our build process is done in release mode not debug mode so how does this affect the creation of PDB files?

Using VS2008, we have solved several issues in connecting to remote debugging since the test environments are not in the same domain. We are now getting this message when trying to watch variables:

Cannot obtain value of local or argument ‘xxxxx’ as it is not available at this instruction pointer, possibly because it has been optimized away

Is this because our build and subsequent deployment process is in release mode?

  • 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-05-13T15:30:15+00:00Added an answer on May 13, 2026 at 3:30 pm

    This error message comes because the CLR itself has optimized out the variables. The PDB’s still contain all of the information about the locals in release mode, the debugger is just simply unable to access them.

    It is possible though to build in release mode and generally avoid this problem. One of the factors as to whether or not the CLR will optimize in such a way that locals are not visible is the DebuggableAttribute class.

    This attribute is generally emitted by the compiler and it changes the flags based on the projects mode: Release or Debug. If the attribute already exists in your project though, the compiler will not overwrite it.

    If your have a web application (vs a web site) you can just add the following line to AssemblyInfo.cs and it should fix the problem

    [assembly: Debuggable(DebuggingModes.DisableOptimizations)]
    

    Note this does disable performance optimizations so you probably don’t want to actually release this way but it’s helpful for debugging.

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

Sidebar

Related Questions

Does anyone have any advice for a consistent way to unit test a multithreaded
Does anyone have any practical suggestions about how to manage feature creep in GUIs?
Does anyone have any ideas about how I could go about randomising an list
Does anyone have any advice how to write such app? Or maybe knows some
Does anyone have any good advice or experience on how to create an engine
Does anyone have any recommendations of tools that can be of assistance with moving
Does anyone have any experience getting MSTest to copy hibernate.cfg.xml properly to the output
Does anyone have any suggestions on how to mentor a junior programmer ? If
Does anyone have any tips for dealing with ConstraintExceptions thrown by XSD datasets? This
Does anyone have any good starting points for me when looking at making web

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.