[Qt-creator] Qt Creator debugging problems
Jaco Naude
naude.jaco at gmail.com
Thu Feb 19 17:04:59 CET 2009
Andre'
Thanks for your response. It seems like the gdb.exe file used on my system
was distributed along with a different application and that path was first
in my windows PATH env. variable. After moving the one that comes with Qt
Creator (6.7.50 as you said) to the front it, Qt Creator uses the latest
gdb.
>> Ok, and a crash early in the application startup before the first
>> "regular" breakpoint was hit. That was not indeed not caught until
>> very recently. It should be fixed in (very) recent snapshots, though.
Not sure if this is the problem. I got yesterday's (17th) snapshot and tried
it. Same thing happens even if I set a breakpoint. It breaks and then after
I press the green play button to continue, it goes into the loop I described
previously.
I must say, it works better now. Sometimes break correctly, other times not.
Thanks for the help.
Jaco
On Wed, Feb 18, 2009 at 11:35 AM, Andre Poenitz <andre.poenitz at nokia.com>wrote:
> On Tue, Feb 17, 2009 at 08:28:40AM +0200, Jaco Naude wrote:
> > Hi
> >
> > I'm still struggling with debugging in Qt Creator. After initially
> thinking
> > that it only happens in 0.92 RC1, I realized that it happened in 0.91
> Beta
> > as well after testing it. According to some feedback it seems like it is
> a
> > problem with plugins loaded in Qt Creator, especially Webkit. I'm not
> using
> > webkit in my application, and I also don't have Safari installed on my
> pc.
> >
> > Any ideas would be greatly appreciated. The debugger stops and goes into
> a
> > loop like the following every time I try to continue or step through the
> > code:
> > > Running...
> > > Stopped.
> > > Finished retrieving data
> > > Stopped: "signal received"
> >
> > Below I've added the output of the GDB View panes in Qt Creator. First
> I've
> > pasted the contents of the leftmost pane, followed by the contents of the
> > rightmost pane.
>
> Thanks, that does the job ;-)
>
> > gdb.exe -i mi --tty=\\.\pipe\creator-è
>
> This looks strange for starters. Looks someone is confusing numbers
> and strings here... Should do no direct harm in this case, though
> (and will be fixed tonight)
>
> > [...]
> > 15:24:08.296
> > stdout:~"GNU gdb 6.3\n"
>
> This is not the gdb that's distributed with the Windows bundle, is it?
> We test only with gdb >= 6.7.50 (the one in the bundle).
>
> Everything else works only out of sheer luck - if at all.
>
> > input:[15:24:08.265] 12-data-list-register-values x
> > stdout:12^error,msg="mi_cmd_data_list_register_values: No registers."
>
> [This looks like e.g. register listing seems not to work with 6.3's MI...]
>
> > input:[15:24:08.625] 16-exec-run
> > [...]
> >
> stdout:16*stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation
> >
> fault",thread-id="1",frame={addr="0x7c96df51",func="ntdll!RtlpNtMakeTemporaryKey",args=[],from="ntdll.dll"}
>
> Ok, and a crash early in the application startup before the first
> "regular" breakpoint was hit. That was not indeed not caught until
> very recently. It should be fixed in (very) recent snapshots, though.
>
> Andre'
>
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090219/701dbcba/attachment.html
More information about the Qt-creator-old
mailing list