From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 82C30138CC5 for ; Tue, 24 Mar 2015 17:05:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7123E098F; Tue, 24 Mar 2015 17:04:58 +0000 (UTC) Received: from mail-oi0-f54.google.com (mail-oi0-f54.google.com [209.85.218.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0FDAE0976 for ; Tue, 24 Mar 2015 17:04:57 +0000 (UTC) Received: by oifl3 with SMTP id l3so143304704oif.0 for ; Tue, 24 Mar 2015 10:04:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=qt/byn38nNkRaNt/9szU5GYqxpbPZDrDStSNKLRnlYw=; b=cisJeMC+iTNFOXmmH8TmBEmhz6pzsh1OCDwxqUqtMzDOPX4WOMwe/sjNW3co6505U9 nnz5PnSiDvfK+4ExTkiDutZi79YxO/5GS5fLM4UfmheAZhzlSEJZ04tk/YVXoU4jwTxW rwLhrHaivVtUDBjaQ9HBTXgNeLEgekHOuMm4zSyd02pvU05NzwJTtnUYuPLn53f9pJ6k 0t92NIUdVqu5/lU4HLNrsZBJcycjco3NAUdGsm5UIIowgniKRTDjZj5xte8+ymA9sCYs 1aV64xSQUztkce5Rk3T24DWMSEaoXDW1E6xOF+ntsEt8PyCZWlAjnPewJh22o1pp5ndH P48g== X-Received: by 10.202.81.14 with SMTP id f14mr3835947oib.120.1427216697145; Tue, 24 Mar 2015 10:04:57 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.60.31.175 with HTTP; Tue, 24 Mar 2015 10:04:15 -0700 (PDT) In-Reply-To: References: From: Francisco Ares Date: Tue, 24 Mar 2015 14:04:15 -0300 Message-ID: Subject: Re: [gentoo-user] Re: [OFF TOPIC] Qt Creator unable to access containers in debug mode To: gentoo-user Content-Type: multipart/alternative; boundary=001a113d7810403db905120bc8d5 X-Archives-Salt: 49807cb9-22b2-4c4d-9a7d-79373cff2396 X-Archives-Hash: a90f7eb9afbd94d782a25edc1c4e917a --001a113d7810403db905120bc8d5 Content-Type: text/plain; charset=UTF-8 Thank you, gonna play a bit around gdb. Best regards, Francisco 2015-03-24 10:52 GMT-03:00 Nikos Chantziaras : > 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 in place of the expected >> item quantity for a QList, for instance, but for a >> std::vector, 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. > > > --001a113d7810403db905120bc8d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you, gonna play a bit around =C2=A0gdb.

Best regards,
Francisco

2015-03-24 10:52 GMT-03:00 Nikos Chantzi= aras <realnc@gmail.com>:
On 24/03/15 15:07, Francisco Ares wro= te:
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.=C2=A0 It shows <not accessible> in place of the expe= cted
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 co= ntents of variables. I don't remember the details though. I only rememb= er that the issue was gdb. I was using a version that was not working corre= ctly 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 f= or.



--001a113d7810403db905120bc8d5--