[Qt-interest] gdb
Sajjad
dosto.walla at gmail.com
Sun Feb 14 17:37:09 CET 2010
Sorry for the mistake last time
What i meant that i downloaded Qt Creator NOT Qt interest
//Sajjad
On Sun, Feb 14, 2010 at 2:52 PM, Sajjad <dosto.walla at gmail.com> wrote:
> Thanks for the suggestion,
>
> I downloaded Qt interest and it is really easier to step into different
> part of the code.
>
> Now the issue is
>
> In the main function i have set a breakpoint and from that i m stepping
> over to a particular part of code until
> i arrive to the part where i can step into.
>
>
> Suppose i arrive at the following code fragment :
>
>
> Workspace *ws = new Workspace();
>
>
> And i want to step into that constructor and see what happens, but it does
> not when i press step into.
> It just step over.
>
>
> Regards
> Sajjad
>
>
> On Sun, Feb 14, 2010 at 12:57 PM, jjDaNiMoTh <jjdanimoth at gmail.com> wrote:
>
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100214/91a4e208/attachment.html
More information about the Qt-interest-old
mailing list