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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:41:58+00:00 2026-05-10T20:41:58+00:00

From googling around it looks like Xcode (3.1 in my case) should be at

  • 0

From googling around it looks like Xcode (3.1 in my case) should be at least trying to give me a sane debug view of STL containers – or at least vectors.

However, whenever I go to look at a vector in the debugger I just see M_impl, with M_start and M_finish members (and a couple of others) – but nothing in-between! (it’s a debug build, btw).

Am I missing a setting or something somewhere?

I’ve also read that there are macros available that can augment the debug viewer even further to inspect more complex containers – but have been unable to find any.

I’d also like to be able to view std::wstrings, without having to drop to the memory viewer. It shows std::string fine. Is there anything I can do to show std::wstring?

I realise this is a bit of a composite question – but it’s all really part of the same subject.

  • 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-10T20:41:58+00:00Added an answer on May 10, 2026 at 8:41 pm

    The ability to view the container’s items may rely on the complexity of the templated type. For trivial objects like int, bool, etc., and even simple class templates like

    template <class T> struct S { T m_t; } 

    I normally have no problem viewing vector items in the debugger variable view. I say normally because there seem to be occasional bugs that cause stuff–particularly when debugging–not to behave the way I expected. One of those things is garbage or totally useless information in the variable view. Usually a clean rebuild of the target (or sometimes even a more drastic restarting of XCode followed by a clean rebuild) fixes the problem.

    As for the other container types, it’s most likely hard to efficiently view this information. For example a map is often implemented as a red-black tree. The debugger would have to know that in advance in order to properly walk the tree and show you all the keys and values. That’s probably asking a lot from Xcode or GDB–especially since the former focuses more on Objective-C and plain C than C++ (hence the fact that namespaces tend to kill code completion despite their ubiquity and importance).

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

Sidebar

Ask A Question

Stats

  • Questions 79k
  • Answers 79k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The thought that immediately comes to mind for what you'd… May 11, 2026 at 4:06 pm
  • Editorial Team
    Editorial Team added an answer There's a lot of software which supports XForms. I used… May 11, 2026 at 4:06 pm
  • Editorial Team
    Editorial Team added an answer The Real-Time Specification for Java now has several commercial-grade implementations:… May 11, 2026 at 4:06 pm

Related Questions

I'm having some weird issues with Xcode, and this is pretty much impossible to
I am trying to build a virtual machine that clones one of the servers
I want to make a file uploader with Flex. However, I want it to
I have written a CGI script that creates an image dynamically using GET data.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.