Gentoo Archives: gentoo-user

From: Fernando Rodriguez <frodriguez.developer@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OFF TOPIC] Qt Creator unable to access containers in debug mode
Date: Tue, 24 Mar 2015 19:12:48
Message-Id: 1509173.AdsNnimB3Q@navi
In Reply to: [gentoo-user] [OFF TOPIC] Qt Creator unable to access containers in debug mode by Francisco Ares
1 On Tuesday, March 24, 2015 10:07:56 AM Francisco Ares wrote:
2 > Hi,
3 >
4 > Recently - but can't figure out exactly when - Qt Creator has become unable
5 > to access Qt containers (where the STL ones work as expected) on the debug
6 > panel. It shows <not accessible> in place of the expected item quantity
7 > for a QList, for instance, but for a std::vector<std::string>, it works,
8 > allowing inspection of all items.
9 >
10 > Any hints on what I may be doing wrong? The headers are all accessible, for
11 > instance. Should I build Qt with debug symbols enabled, as recommended for
12 > glibc?
13 >
14 > Using current Qt 4.8.5, Qt Creator 2.8.1, gdb 7.7.1, gcc 4.8.3
15 >
16 > Thanks!
17 > Francisco
18
19 Try to print it from gdb cli, if it works you'll know the issue QtCreator,
20 otherwise you're likely missing some symbols. You should always compile any
21 development libraries with debug symbols.
22
23 --
24 Fernando Rodriguez

Replies

Subject Author
[gentoo-user] Re: [OFF TOPIC] Qt Creator unable to access containers in debug mode Nikos Chantziaras <realnc@×××××.com>