[Qt-interest] gdb
jjDaNiMoTh
jjdanimoth at gmail.com
Sun Feb 14 12:57:49 CET 2010
2010/2/14 Sajjad <dosto.walla at gmail.com>:
> Hello forum,
>
> I tying to observe the call stack with gdb
> and i am providing the following command:
> break simple_qt.cpp:102
> And gdb output is that source file not found.
If it is compiled correctly ( -g option ), you need to provide the
complete relative path to the file.
Assuming that you run gdb from ./ , and simple_qt.cpp is under ./src/
, you should use
break src/simple_qt.cpp:102
Using qtcreator will resolve most of these stuff easily, and debugging
will be very fast.
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
More information about the Qt-interest-old
mailing list