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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:05:10+00:00 2026-05-12T00:05:10+00:00

I know a solution would be to use VS 2005 or 2008, but that’s

  • 0

I know a solution would be to use VS 2005 or 2008, but that’s not an option at the moment. I am supposed to write an extension to the VS 2003 C++ debugger to improve the way it displays data in the watch window. The main reason I am using a DLL rather than just the basic autoexp.dat functionality is that I want to be able to display things conditionally. I.e. I want to be able to say “If the name member is not an empty string, display name, otherwise display [some other member]”

I can’t find much documentation online, either from MS or other people who have used (or tried to use) this part of VS 2003. The MSDN EEaddin sample was an ok start, but very basic and didn’t really help me get very far.

So far I am just learning my way around it, learning how to display various types without knowing exactly what kind of types I will be working on in the end.

I have managed (through much trial and error) to get the DLL to display pointer-to-basic-type members, string members, pointer-to-user-defined-type members and auto_ptr<int> members. At the moment I am having trouble displaying vector members and auto_ptr<string> members.

(I found a page that says auto_ptrs are deprecated, but I need to be able to display them properly as they are used in the code my extension is meant for.)

My question is: has anyone done this kind of thing and do you have or know of some helpful documentation on the subject?

Thanks!

[update:]
I’ve worked out why I’m having trouble with the auto_ptr<string> class members. It’s because of the way the string class is implemented. It has a char[16] buffer where it stores the data for short strings, and a char* pointer if the string is longer than (15 characters+termination character). I’m not sure whether it’s possible and worth trying to hack into that to display longer strings (I can display strings that short enough to be saved in the char[16] buffer)

  • 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-12T00:05:10+00:00Added an answer on May 12, 2026 at 12:05 am

    This article might help you:

    http://msdn.microsoft.com/en-us/library/aa730838(VS.80).aspx

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

Sidebar

Ask A Question

Stats

  • Questions 124k
  • Answers 124k
  • 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 Classes are tied to the ClassLoader that loaded them. To… May 12, 2026 at 1:14 am
  • Editorial Team
    Editorial Team added an answer See this question: Can I concatenate multiple MySQL rows into… May 12, 2026 at 1:14 am
  • Editorial Team
    Editorial Team added an answer OK, after some more reasearch I finally came to a… May 12, 2026 at 1:14 am

Related Questions

Imagine I have a CDialog which creates controls dynamically when the user clicks a
I'm looking for a tool to automatically clean all the .suo, .user, files... bin,
I have a requirement in my application that I think can be met by
We have a web service that we will be hosting on a public web
I have a Windows executable that is launched from within a service by calling

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.