[Qt-creator] Debugger faill
Moises Augusto
jr.jorro at gmail.com
Sun Jan 10 12:49:04 CET 2010
ok Andre,
yéh I understand, thank for your patience, follows:
The debugger ignores the breakpoint.
<code>
dState changed from <unknown>(-1) to DebuggerNotReady(0).
d0x92f3b880x00x92f53702
d/home/moises/PiNAL/mainwindow.cpp61
sStarting debugger for tool chain 'GCC'...
dDebugger settings:
dUseAlternatingRowColours: true (default: false)
dUseMessageBoxForSignals: true (default: true)
dAutoQuit: false (default: false)
dLogTimeStamps: false (default: false)
dUseDebuggingHelper: true (default: true)
dUseCustomDebuggingHelperLocation: false (default: false)
dCustomDebuggingHelperLocation: (default: )
dDebugDebuggingHelpers: false (default: false)
dUseCodeModel: true (default: true)
dUseToolTips: true (default: false)
dUseToolTipsInLocalsView: false (default: false)
dUseToolTipsInBreakpointsView: false (default: false)
dUseAddressInBreakpointsView: false (default: false)
dUseAddressInStackView: false (default: false)
dLocation: gdb (default: gdb)
dEnvironment: (default: )
dScriptFile: (default: )
dMaximalStackDepth: 20 (default: 20)
dListSourceFiles: true (default: false)
dSkipKnownFrames: false (default: false)
dEnableReverseDebugging: false (default: false)
dAllPluginBreakpoints: true (default: true)
dSelectedPluginBreakpoints: false (default: false)
dNoPluginBreakpoints: false (default: false)
dSelectedPluginBreakpointsPattern: (default: .*)
d/home/moises/PiNAL/PiNAL0x92f3b88
dState changed from DebuggerNotReady(0) to EngineStarting(1).
dState changed from EngineStarting(1) to AdapterStarting(2).
dTRYING TO START ADAPTER
dSTARTING GDB
dGDB STARTED, INITIALIZING IT
<1show version
<2-interpreter-exec console "help bb"
<3set print static-members off
<4set breakpoint pending on
<5set print elements 10000
<6set overload-resolution off
<7handle SIGSEGV nopass stop print
<8set unwindonsignal on
<9set width 0
<10set height 0
dThe debugging helper library was not found at
/usr/share/qt4/qtc-debugging-helper/libgdbmacros.so,
/home/moises/qtcreator-1.3.0/qtc-debugging-helper/30324244/libgdbmacros.so,
/home/moises/.local/share/data/Nokia/QtCreator/qtc-debugging-helper/30324244/libgdbmacros.so.
>~"GNU gdb 6.8-debian\n"
>~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>\n"
>~"This is free software: you are free to change and redistribute it.\n"
>~"There is NO WARRANTY, to the extent permitted by law. Type \"show
copying\"\n"
>~"and \"show warranty\" for details.\n"
>~"This GDB was configured as \"i486-linux-gnu\".\n"
>&"show version\n"
>~"GNU gdb 6.8-debian\n"
>~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>\n"
>~"This is free software: you are free to change and redistribute it.\n"
>~"There is NO WARRANTY, to the extent permitted by law. Type \"show
copying\"\n"
>~"and \"show warranty\" for details.\n"
>~"This GDB was configured as \"i486-linux-gnu\".\n"
>1^done
dVERSION: 1^done,{logstreamoutput="show version\n",consolestreamoutput="GNU
gdb 6.8-debian\nCopyright (C) 2008 Free Software Foundation, Inc.\nLicense
GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis
is free software: you are free to change and redistribute it.\nThere is NO
WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show
warranty\" for details.\nThis GDB was configured as \"i486-linux-gnu\".\nGNU
gdb 6.8-debian\nCopyright (C) 2008 Free Software Foundation, Inc.\nLicense
GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis
is free software: you are free to change and redistribute it.\nThere is NO
WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show
warranty\" for details.\nThis GDB was configured as \"i486-linux-gnu\".\n"}
d
dGDB VERSION: 60800, BUILD: 0
>&"Undefined command: \"bb\". Try \"help\".\n"
>2^error,msg="Undefined command: \"bb\". Try \"help\"."
>&"set print static-members off\n"
>3^done
>&"set breakpoint pending on\n"
>4^done
>&"set print elements 10000\n"
>5^done
>&"set overload-resolution off\n"
>6^done
>&"handle SIGSEGV nopass stop print\n"
>~"Signal Stop\tPrint\tPass to program\tDescription\n"
>~"SIGSEGV Yes\tYes\tNo\t\tSegmentation fault\n"
>7^done
>&"set unwindonsignal on\n"
>8^done
>&"set width 0\n"
>9^done
>&"set height 0\n"
>10^done
dState changed from AdapterStarting(2) to AdapterStarted(3).
dADAPTER SUCCESSFULLY STARTED
sStarting inferior...
dState changed from AdapterStarted(3) to InferiorStarting(6).
<11-file-exec-and-symbols "/home/moises/PiNAL/PiNAL"
>11^done
<12info target
<13set substitute-path /var/tmp/qt-x11-src-4.6.0 /usr/include
sSetting breakpoints...
<14-file-list-exec-source-files
<15-break-list
>&"info target\n"
>~"Symbols from \"/home/moises/PiNAL/PiNAL\".\n"
>~"Local exec file:\n"
>~"\t`/home/moises/PiNAL/PiNAL', file type elf32-i386.\n"
>~"\tEntry point: 0x8052990\t0x08048154 - 0x08048167 is .interp\n"
>~"\t0x08048168 - 0x08048188 is .note.ABI-tag\n"
>~"\t0x08048188 - 0x080497dc is .hash\n"
>~"\t0x080497dc - 0x08049cf0 is .gnu.hash\n"
>~"\t0x08049cf0 - 0x0804baf0 is .dynsym\n"
>~"\t0x0804baf0 - 0x0804fab3 is .dynstr\n"
>~"\t0x0804fab4 - 0x0804fe74 is .gnu.version\n"
>~"\t0x0804fe74 - 0x0804fef4 is .gnu.version_r\n"
>~"\t0x0804fef4 - 0x0804ff94 is .rel.dyn\n"
>~"\t0x0804ff94 - 0x08050d7c is .rel.plt\n"
>~"\t0x08050d7c - 0x08050dac is .init\n"
>~"\t0x08050dac - 0x0805298c is .plt\n"
>~"\t0x08052990 - 0x080880ac is .text\n"
>~"\t0x080880ac - 0x080880c8 is .fini\n"
>~"\t0x080880e0 - 0x0808fb83 is .rodata\n"
>~"\t0x0808fb84 - 0x08090258 is .eh_frame_hdr\n"
>~"\t0x08090258 - 0x080920c0 is .eh_frame\n"
>~"\t0x080920c0 - 0x08097bd3 is .gcc_except_table\n"
>~"\t0x08098ea4 - 0x08098ecc is .ctors\n"
>~"\t0x08098ecc - 0x08098ed4 is .dtors\n"
>~"\t0x08098ed4 - 0x08098ed8 is .jcr\n"
>~"\t0x08098ed8 - 0x08098ff0 is .dynamic\n"
>~"\t0x08098ff0 - 0x08098ff4 is .got\n"
>~"\t0x08098ff4 - 0x080996f4 is .got.plt\n"
>~"\t0x080996f4 - 0x080996fc is .data\n"
>~"\t0x08099700 - 0x0809998c is .bss\n"
>12^done
<16tbreak *0x8052990
>&"set substitute-path /var/tmp/qt-x11-src-4.6.0 /usr/include\n"
>13^done
>14^done,files=[{file="/tmp/ccxq91nO.s"},{file="../sysdeps/generic/initfini.c"},{file="/build/buildd/glibc-2.9/build-tree/i386-libc/csu/crti.S"},{file="init.c"},{file="../sysdeps/i386/elf/start.S"},{file="../sysdeps/i386/elf/start.S"}]
>15^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]}
<17-break-insert -f "\"mainwindow.cpp\":61"
>&"tbreak *0x8052990\n"
>~"Breakpoint 1 at 0x8052990: file ../sysdeps/i386/elf/start.S, line 65.\n"
>16^done
>&"No source file named mainwindow.cpp.\n"
>17^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"mainwindow.cpp\":61",times="0"}
dALL COMMANDS DONE; INVOKING CALLBACK
dBREAKPOINTS SET, CONTINUING INFERIOR STARTUP
dState changed from InferiorStarting(6) to InferiorRunningRequested(8).
<18-exec-run
>18^running
dState changed from InferiorRunningRequested(8) to InferiorRunning(10).
sRunning...
dINFERIOR STARTED
sInferior started.
>~"[Thread debugging using libthread_db enabled]\n"
s[Thread debugging using libthread_db enabled]
>~"[New Thread 0xb68e0700 (LWP 3829)]\n"
dFOUND PID 3829
d03829
s[New Thread 0xb68e0700 (LWP 3829)]
>~"[Switching to Thread 0xb68e0700 (LWP 3829)]\n"
>~"Current language: auto; currently asm\n"
>18*stopped,thread-id="1",frame={addr="0x08052990",func="_start",args=[],file="../sysdeps/i386/elf/start.S",line="65"}
dState changed from InferiorRunning(10) to InferiorStopping(11).
dState changed from InferiorStopping(11) to InferiorStopped(13).
dState changed from InferiorStopped(13) to InferiorRunningRequested(8).
<19-exec-continue
>19^running
dState changed from InferiorRunningRequested(8) to InferiorRunning(10).
sRunning...
>~"[New Thread 0xb5af2b90 (LWP 3832)]\n"
s[New Thread 0xb5af2b90 (LWP 3832)]
>~"[Thread 0xb5af2b90 (LWP 3832) exited]\n"
s[Thread 0xb5af2b90 (LWP 3832) exited]
</code>
2010/1/10 Andre Poenitz <andre.poenitz at mathematik.tu-chemnitz.de>
> On Sat, Jan 09, 2010 at 07:59:35PM -0300, Moises Augusto wrote:
> > Sorry,
> >
> > Andre, i'm don't understand. You want the code I'm trying to debug?
>
> Not really.
>
> The second .png you showed (i.e. http://i49.tinypic.com/spdb4k.png) is
> the right stuff, but it covers only a few lines, basically only the
> result of the last command out of a "conversation" of 60 commands.
> I would need the whole list, and not a .png but normal text.
>
> 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/20100110/ff058605/attachment.html
More information about the Qt-creator-old
mailing list