Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] Qt Creator, std::string (C++) shows as <not accessible> on the debug pane
Date: Sun, 08 Sep 2019 12:49:45 +0200	[thread overview]
Message-ID: <20190908104945.nGjDpRxaKlkIZbfhLwcZKR-yPt3HaE0C-El9c3hMRPc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14276@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1950 bytes --]

Closed issue by Tomab89 on void-packages repository

https://github.com/void-linux/void-packages/issues/14276

Description:
While doing C++ debugging with QtCreator I am unable to view contents of a std::string in the debug pane.
I tried with GCC+GDB and Clang+lldb, with the same result.
gcc-9.1.0_3
gdb-8.3_1
clang-8.0.0_7
lldb-8.0.0_7
I'm not sure if these packages are related to the issue at all. Nor am I certain this is a bug upstream to QtCreator. I searched using Google and it didn't seem that many other users experiences this, at least from the past months.
It could be worth noting that I am using Void Linux at work as well, with QtCreator, GCC and GDB; basically the same environment I use here at home. So, at work, I have none of these issues, and I have not updated that system since August 1st or 2nd.
My system here at home I updated by latest today. However my previous update, about 1-2 weeks ago, I am sure I also received GCC 9.
After the update few weeks back, on my home computer, I launched a debug of one of my pet-projects (no recompiling!) and it ran fine, I could view std::string and do my usual things. I did some source-modifications and re-compiled, and right after that, std::string was not accessible; on all my projects, not even on a simple test-source with a main() and some function calls with a little deeper callstack.

### System
* xuname:  
  Void 4.19.69_1 x86_64 GenuineIntel uptodate rrrrmmnFFFFFF
* package: 
  qtcreator-4.9.2_3

### Expected behavior
std::string is visible in debug pane

### Actual behavior
std::string shows as "not accessible"

### Steps to reproduce the behavior
Create a simple test C++ application using a std::string and try reading its output via a breakpoint. Some times it might show, but in that case, it seems that it might also fail under a little deeper call-stack than just main(). Depth of my call-stack is 5, but is also failing higher up.


      parent reply	other threads:[~2019-09-08 10:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06 23:46 [ISSUE] " voidlinux-github
2019-09-08 10:49 ` voidlinux-github
2019-09-08 10:49 ` voidlinux-github [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190908104945.nGjDpRxaKlkIZbfhLwcZKR-yPt3HaE0C-El9c3hMRPc@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).