Thread: Debugger Question Regarding Strings

  1. #1
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001

    Debugger Question Regarding Strings


    This is probably a stupid question, but is there anyway to view the contents of an std::string variable in the Visual Studio 2005 debugger in the same way as its easily possible to look whats inside standard variable types?


    You Can Stop Me, But You Cant Stop Us All

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    I was under the impression that it did that all by itself. I'm pretty sure 2003 did.
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Registered User
    Join Date
    Jan 2005
    It works pretty well for me in VC++ 2005 Express. Are you using the default standard library implementation or a different one. What do you see that is not what you expect?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Concatenating C style Strings Question
    By bengreenwood in forum C++ Programming
    Replies: 3
    Last Post: 03-19-2009, 03:19 PM
  2. Question: Stream I/O (working with strings)
    By ckuttruff in forum C Programming
    Replies: 15
    Last Post: 05-19-2008, 11:32 AM
  3. A question regarding strings
    By babu in forum C Programming
    Replies: 6
    Last Post: 07-31-2007, 05:30 AM
  4. Strings question
    By kimimaro in forum C Programming
    Replies: 10
    Last Post: 03-15-2005, 12:14 AM
  5. question about arrays of strings
    By lakai02 in forum C Programming
    Replies: 14
    Last Post: 12-25-2002, 09:11 PM