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 ACFA9138CC5 for ; Tue, 24 Mar 2015 19:32:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D3ABBE0935; Tue, 24 Mar 2015 19:32:18 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0719E091B for ; Tue, 24 Mar 2015 19:32:17 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YaUYf-0006LX-IZ for gentoo-user@lists.gentoo.org; Tue, 24 Mar 2015 20:32:13 +0100 Received: from ppp-2-86-252-125.home.otenet.gr ([2.86.252.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Mar 2015 20:32:13 +0100 Received: from realnc by ppp-2-86-252-125.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Mar 2015 20:32:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: [OFF TOPIC] Qt Creator unable to access containers in debug mode Date: Tue, 24 Mar 2015 21:32:07 +0200 Organization: Lucas Barks Message-ID: References: <1509173.AdsNnimB3Q@navi> 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 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp-2-86-252-125.home.otenet.gr User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <1509173.AdsNnimB3Q@navi> X-Archives-Salt: d40bbc60-e86a-451c-983b-4b8eae5a6493 X-Archives-Hash: a1a67e2a4e196c3406dcb65745b8321f On 24/03/15 21:12, Fernando Rodriguez wrote: > On Tuesday, March 24, 2015 10:07:56 AM 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 >> >> Thanks! >> Francisco > > Try to print it from gdb cli, if it works you'll know the issue QtCreator, > otherwise you're likely missing some symbols. You should always compile any > development libraries with debug symbols. You don't need debug symbols for inspecting containers. They are not needed. The only reason for enabling debug symbols in Qt is if you want to step into Qt's code.