Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > openwatcom.users.c_cpp > #3556

Re: looking at contents of a std::string in OW debugger

From Paul S Person <psperson1@ix.netcom.invalid>
Newsgroups openwatcom.users.c_cpp
Subject Re: looking at contents of a std::string in OW debugger
Date 2018-08-23 09:47 -0700
Organization A noiseless patient Spider
Message-ID <53ptnddr9c6ns3hqbsrdnum1sv9o1tr0vp@4ax.com> (permalink)
References <plkd61$ta$1@www.openwatcom.org>

Show all headers | View raw


On Wed, 22 Aug 2018 14:24:31 -0500, Lynn McGuire
<lynnmcguire5@gmail.com> wrote:

>How do you look at the contents of a std::string in OW debugger ?
>
>Specifically, the string itself rather than just the first character.

It's been a long time since I debugged C++.

However, if you can see the first character, are you, by any chance,
looking at an ASCII string (a char * of some sort)?

If so, then right-clicking on what I presume is a data member,
selecting "Type", and selecting "String" might work. It does in C.
-- 
"I begin to envy Petronius."
"I have envied him long since."

Back to openwatcom.users.c_cpp | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

looking at contents of a std::string in OW debugger Lynn McGuire <lynnmcguire5@gmail.com> - 2018-08-22 14:24 -0500
  Re: looking at contents of a std::string in OW debugger Paul S Person <psperson1@ix.netcom.invalid> - 2018-08-23 09:47 -0700
    Re: looking at contents of a std::string in OW debugger Lynn McGuire <lynnmcguire5@gmail.com> - 2018-08-23 20:27 -0500
      Re: looking at contents of a std::string in OW debugger Paul S Person <psperson1@ix.netcom.invalid> - 2018-08-24 10:16 -0700
        Re: looking at contents of a std::string in OW debugger Lynn McGuire <lynnmcguire5@gmail.com> - 2018-11-16 13:25 -0600
          Re: looking at contents of a std::string in OW debugger Paul S Person <psperson1@ix.netcom.invalid> - 2018-11-17 10:34 -0800

csiph-web