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

  • Home
  • SEARCH
  • 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

Related Questions

I know that Ctrl + Shift + B launches a solution build, but I
Does anyone know how to move the Solution Explorer tab in Visual Studio 2005?
problem euler #5 i found the solution but i don't know why this first
Does anyone know a good solution for implementing a function similar to Ruby's timeout
I know 'best' is subjective, so according to you, what is the best solution
I'm working with a large (270+ project) VS.Net solution. Yes, I know this is
Does anyone know of any reverse proxy solutions that allow the content/data of an
Know of an OCAML/CAML IDE? Especially one that runs on Linux?
I use Visual Studio 2010 with Visual SourceSafe 2005 for source control. Each developer
I want to write a method in Java that verifies that some conditions hold

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.