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

The Archive Base Latest Questions

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

I am trying to configure Visual Studio 2010, to add a Debug configuration. Configuration

  • 0

I am trying to configure Visual Studio 2010, to add a Debug configuration.

Configuration Manager->either by starting in the active solution configuration:, or Project, added New, created a New configuration, copied from Debug… (if solution, either created new configuration, or just used Debug and added new project configuration)…

http://msdn.microsoft.com/en-us/library/kwybya3w.aspx

Build -> errors that suggest a mix of Debug and Release:

defaultlib ‘LIBCMT’ conflicts with use of other libs; use /NODEFAULTLIB:library -> easy to fix

mismatch detected for ‘_ITERATOR_DEBUG_LEVEL’: value ‘2’ doesn’t match value ‘0’ -> don’t know how to fix.

I tried to manually change the project file… But I don’t know how to fix this. resultant configuration ?

What is more, I can’t just fix this specific instance – there will be lots and lots of situations where this situation will happen again, so, what am I doing wrong ?

Note: I need a DEBUG configuration in order to be able to do unit testing (c++), and be able to separate building executables from unit tests.

  • 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:04:54+00:00Added an answer on June 13, 2026 at 7:04 pm

    I can set the configuration options in a property sheet, where I can add things like

    <ItemDefinitionGroup Condition="'$(Configuration)' == 'DebugCopy'">
        <ClCompile>
          <PreprocessorDefinitions>_ITERATOR_DEBUG_LEVEL=2;%(PreprocessorDefinitions)</PreprocessorDefinitions>
        </ClCompile>
      </ItemDefinitionGroup>
    

    (as well as any other options I require that may not be set by default).

    It is a way to override some global settings that have been imposed on all projects I am using, which have caused the bug I had (mostly because I wasn’t aware of those settings).

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

Sidebar

Related Questions

I'm trying to debug MVC source code in Visual Studio 2010 using the Microsoft
I'm trying use a Visual Studio 2010 setup project to package a set of
I am trying to make Visual Studio 2010 to run my project under a
I'm trying to configure a zenburn-like syntax highlighting for my Visual Studio 2010 environment
I am trying to configure visual studio to enable me to step into the
I'm trying to use OpenCv 2.2 in Visual Studio 2010. I've configured everything by
I am trying to create a VISX extension for Visual Studio 2010 that contains
I am working on a VSTO project using excel 2010 and visual studio 2010.
I am trying to use Opencv in the environment of Visual Studio 2010. My
I'm trying to do some SQL tracing on a Visual Studio 2010 load test.

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.