public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nikos Chantziaras <realnc@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: [OFF TOPIC] Qt Creator unable to access containers in debug mode
Date: Tue, 24 Mar 2015 15:52:20 +0200	[thread overview]
Message-ID: <merq6k$vag$1@ger.gmane.org> (raw)
In-Reply-To: <CAHH9eM4AAqRA1PjiAys_a5s8p8FOWGvkrGWoFcy-7muck8J0Uw@mail.gmail.com>

On 24/03/15 15:07, Francisco Ares wrote:
> Hi,
>
> Recently - but can't figure out exactly when - Qt Creator has become
> unable to access Qt containers (where the STL ones work as expected) on
> the debug panel.  It shows <not accessible> in place of the expected
> item quantity for a QList, for instance, but for a
> std::vector<std::string>, it works, allowing inspection of all items.
>
> Any hints on what I may be doing wrong? The headers are all accessible,
> for instance. Should I build Qt with debug symbols enabled, as
> recommended for glibc?
>
> Using current Qt 4.8.5, Qt Creator 2.8.1, gdb 7.7.1, gcc 4.8.3

I remember having a problem with old Creator that had to do with showing 
contents of variables. I don't remember the details though. I only 
remember that the issue was gdb. I was using a version that was not 
working correctly with Creator 2.8. I had to downgrade to an old gdb. 
7.5.1, I think.

I can't reproduce the problem anymore, since I've since switched to 
Creator 3 (now on 3.3.2.) This is rather easy to upgrade to now, as Qt5 
is now in portage (although in ~arch.) If you want to upgrade, note that 
you can still develop for Qt4 just fine. Qt5 is only used to run Creator 
itself, it doesn't have any effect on the version of Qt you want to 
develop for.



  reply	other threads:[~2015-03-24 13:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 13:07 [gentoo-user] [OFF TOPIC] Qt Creator unable to access containers in debug mode Francisco Ares
2015-03-24 13:52 ` Nikos Chantziaras [this message]
2015-03-24 17:04   ` [gentoo-user] " Francisco Ares
2015-03-24 19:12 ` [gentoo-user] " Fernando Rodriguez
2015-03-24 19:32   ` [gentoo-user] " Nikos Chantziaras
2015-03-24 20:07     ` Fernando Rodriguez
2015-03-24 20:43       ` Francisco Ares
2015-03-24 22:32         ` Nikos Chantziaras
2015-03-25  0:11           ` Fernando Rodriguez

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='merq6k$vag$1@ger.gmane.org' \
    --to=realnc@gmail.com \
    --cc=gentoo-user@lists.gentoo.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