[Qt-interest] gdb

Sajjad dosto.walla at gmail.com
Sun Feb 14 18:48:36 CET 2010


Hello

I just did as you have specified in the Qt Creator i have set  the
breakpoint to the line


Workspace* workspace = new Workspace();


with f5 the program pointed to  the place where the breakpoint is set and
then i press f11 to step into the constructor to see which variable are
getting initialized inside the constructor,but it does not get into the
constructor.

It just step to the next line


Regards
Sajjad

On Sun, Feb 14, 2010 at 6:21 PM, jjDaNiMoTh <jjdanimoth at gmail.com> wrote:

> 2010/2/14 Sajjad <dosto.walla at gmail.com>:
> [cut]
> > 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.
>
> If it just step over (I don't know why), simply set a breakpoint into
> Workspace constructor.
>
> --
> 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/329d43f8/attachment.html 


More information about the Qt-interest-old mailing list