[Qt-creator] Remote debugging
Cosgrove, David A
David.Cosgrove at astrazeneca.com
Thu Aug 19 12:14:48 CEST 2010
I've seen something very similar with 1.3.1 and CMake projects. I
assumed that it was down to my lack of experience with both gdb and
QtCreator and didn't pursue it but maybe it is something to do with
imported projects?
Apologies in advance for the huge amounts of guff that's going to be
appended to this reply, I can't turn it off and I'm not allowed to use
webmail from work.
Dave
From: qt-creator-bounces at trolltech.com
[mailto:qt-creator-bounces at trolltech.com] On Behalf Of Francis Rammeloo
Sent: 19 August 2010 11:10
To: qt-creator at trolltech.com
Subject: [Qt-creator] Remote debugging
I am trying to figure out how to use the remote debugger in QtCreator
2.0.0. Everything works (connecting to the remote gdbserver, setting
breakpoints, inspecting variables, ...) except for one thing: if I set a
breakpoint (using the GUI), it will hit, but then the editor jumps to
assembly view instead of the source file. In this assembly view I can
step, and inspect the local variables. If I open the source file where
the current stack frame is then even tooltips work fine. I just can't
figure out how to tell QtCreator/GDB how to associate the source file
with the current frame.
The QtCreator project was created using the "Import existing project"
option, since it is a makefile project. Perhaps this breaks the
integration?
GCC build options are '-O0' and '-g'.
Perhaps I should mention that the actual executable is built on a remote
build server that has an older version of gcc (4.1.2). The server that
runs the application has gdb v6.8 and gdbserver v6.8.
Does anyone have an idea what's going wrong?
Francis
--------------------------------------------------------------------------
Please note that as of 20 September 2010 the registered office for AstraZeneca UK Limited will change to 2 Kingdom Street, London, W2 6BD.
AstraZeneca UK Limited is a company incorporated in England and Wales with registered number: 03674842 and a registered office at 15 Stanhope Gate, London W1K 1LN.
Confidentiality Notice: This message is private and may contain confidential, proprietary and legally privileged information. If you have received this message in error, please notify us and remove it from your system and note that you must not copy, distribute or take any action in reliance on it. Any unauthorised use or disclosure of the contents of this message is not permitted and may be unlawful.
Disclaimer: Email messages may be subject to delays, interception, non-delivery and unauthorised alterations. Therefore, information expressed in this message is not given or endorsed by AstraZeneca UK Limited unless otherwise notified by an authorised representative independent of this message. No contractual relationship is created by this message by any person unless specifically indicated by agreement in writing other than email.
Monitoring: AstraZeneca UK Limited may monitor email traffic data and content for the purposes of the prevention and detection of crime, ensuring the security of our computer systems and checking Compliance with our Code of Conduct and Policies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100819/1387be11/attachment.html
More information about the Qt-creator-old
mailing list