Re: [Qt-creator] MinGW GDB not stopping at breakpoints
> -Original Message- > From: qt-creator-bounces+kai.koehne=digia@qt-project.org [mailto:qt- > creator-bounces+kai.koehne=digia@qt-project.org] On Behalf Of André > Hartmann > Sent: Thursday, May 23, 2013 9:16 AM > To: qt-creator@qt-project.org > Subject: [Qt-creator] MinGW GDB not stopping at breakpoints > > Hello, > > I have build QtCreator from the 2.8 branch a week ago with MSVC 2010 / > 32bit. > > Operating system is Windows 7 64bit. > > Yesterday I realized that GDB 7.4 is not breaking. It works perfectly with an > official Creator 2.7 Installation. Hi André, we changed the way how breakpoints are set in 2.8 from just the filename to absolute paths . Could you check whether changing it back to relative path fixes the issue for you? You can change the breakpoint by right click in Breakpoints view->Edit Breakpoint...Path, switch to Use File Name. Regards Kai ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] MinGW GDB not stopping at breakpoints
Workaround for GDB Ctrl-C Interrupt http://www.mingw.org/wiki/Workaround_for_GDB_Ctrl_C_Interrupt On Thu, May 23, 2013 at 3:15 PM, André Hartmann wrote: > Hello, > > I have build QtCreator from the 2.8 branch a week ago with MSVC 2010 / > 32bit. > > Operating system is Windows 7 64bit. > > Yesterday I realized that GDB 7.4 is not breaking. It works perfectly with > an official Creator 2.7 Installation. > > Unfortunately there are no 2.8 builds on builds.qt-project.org at the > moment, so I can't check these. > > Debugger log is attached. > > Best regards, > Andre > > ___ > Qt-creator mailing list > Qt-creator@qt-project.org > http://lists.qt-project.org/mailman/listinfo/qt-creator > > -- Regards, Fan Yang ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] threadnames not called in 2.7.1
On Thu, May 23, 2013 at 08:49:27AM +0200, Christoph Mathys wrote: > Found out why it does not work anymore, someone just disabled it in the > source (066efcd6a601e75fa0a1b748ad6d341712507dcc). On a stable version a > perfectly working feature is completely disabled? No comment in the > source or the commit why this was done or anything?!? Sorry for not leaving a comment in the sources for an accidental omission and thank you for the polite reminder. It's fixed now, commit 4786cee9 in the 2.7 branch, so it should be in 2.7.2 (or whatever will be released together with Qt 5.1) Andre' ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] threadnames not called in 2.7.1
That looks like an accident. -- Eike Ziller Senior Software Engineer Digia Germany GmbH Rudower Chaussee 13, D-12489 Berlin Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B, Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius Digia Germany is a group company of Digia Plc, Valimotie 21, FI-00380 Helsinki Finland From: qt-creator-bounces+eike.ziller=digia@qt-project.org [qt-creator-bounces+eike.ziller=digia@qt-project.org] on behalf of Christoph Mathys [erase...@gmail.com] Sent: 23 May 2013 08:49 To: qt-creator@qt-project.org Subject: Re: [Qt-creator] threadnames not called in 2.7.1 Found out why it does not work anymore, someone just disabled it in the source (066efcd6a601e75fa0a1b748ad6d341712507dcc). On a stable version a perfectly working feature is completely disabled? No comment in the source or the commit why this was done or anything?!? So: diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 2aa554a..e854ca2 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -3778,7 +3778,7 @@ void GdbEngine::handleThreadInfo(const GdbResponse &response) selectThread(other); } updateViews(); // Adjust Threads combobox. -if (false && m_hasInferiorThreadList && debuggerCore()->boolSetting(ShowThreadNames)) { +if (m_hasInferiorThreadList && debuggerCore()->boolSetting(ShowThreadNames)) { postCommand("threadnames " + debuggerCore()->action(MaximalStackDepth)->value().toByteArray(), Discardable, CB(handleThreadNames)); Christoph On Wed, May 15, 2013 at 9:25 AM, Christoph Mathys mailto:erase...@gmail.com>> wrote: I noticed that threadnames is not called anymore in 2.7.1. This works fine on 2.7.0. Excerpt from the debugger log: 2.7.1 33-interpreter-exec console "bbsetup" 34maint print msymbols /tmp/gdb_ns_.Ju1101 35-thread-info 36-stack-list-frames 0 20 37-stack-select-frame 1 38bb options:fancy,autoderef,dyntype vars: expanded:return,local,watch,inspect typeformats: formats: watchers: 2.7.0 33-interpreter-exec console "bbsetup" 34maint print msymbols /tmp/gdb_ns_.RT1755 35-thread-info 36threadnames 20 37-stack-list-frames 0 20 38-stack-select-frame 1 39bb options:fancy,autoderef,dyntype vars: expanded:return,local,watch,inspect typeformats: formats: watchers: ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
[Qt-creator] MinGW GDB not stopping at breakpoints
Hello, I have build QtCreator from the 2.8 branch a week ago with MSVC 2010 / 32bit. Operating system is Windows 7 64bit. Yesterday I realized that GDB 7.4 is not breaking. It works perfectly with an official Creator 2.7 Installation. Unfortunately there are no 2.8 builds on builds.qt-project.org at the moment, so I can't check these. Debugger log is attached. Best regards, Andre sStarting debugger "GdbEngine" for ABI "x86-windows-msys-pe-32bit"... dStart parameters: 'tests' mode: 1 dABI: x86-windows-msys-pe-32bit dLanguages: c++ dExecutable: X:\S12X\KernelLibrary\build-tests-Desktop_Qt_4_8_2_MinGW-Debug\debug\tests.exe dDirectory: X:\S12X\KernelLibrary\build-tests-Desktop_Qt_4_8_2_MinGW-Debug dDebugger: C:\Qt\qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\gdb-i686-pc-mingw32.exe dProject: X:\S12X\KernelLibrary\tests (built: X:\S12X\KernelLibrary\build-tests-Desktop_Qt_4_8_2_MinGW-Debug) dQML server: 127.0.0.1:3768 dRemote: :0 dSysroot: dDebug Source Location: /usr/src/debug/qt5base/src/corelib:/usr/src/debug/qt5base/src/gui:/usr/src/debug/qt5base/src/network dSymbol file: dDumper libraries: C:\Qt\4.8.2\qtc-debugging-helper\ D:\Daten\Tools.qt\build-qtcreator-Desktop_Qt_4_8_2_MSVC_2010-Release\qtc-debugging-helper\128627218\ C:\Users\ah.ISEG\AppData\Local\QtProject\QtCreator\qtc-debugging-helper\128627218\ dDebugger settings: dQmlInspector.FromQml: false (default: false) dUseAlternatingRowColours: false (default: false) dFontSizeFollowsEditor: false (default: false) dUseMessageBoxForSignals: true (default: true) dAutoQuit: false (default: false) dLogTimeStamps: false (default: false) dVerboseLog: false (default: false) dCloseBuffersOnExit: false (default: false) dSwitchModeOnExit: false (default: false) dBreakpointsFullPath: false (default: false) dRaiseOnInterrupt: true (default: true) dUseDebuggingHelper: true (default: true) dUseCodeModel: true (default: true) dShowThreadNames: false (default: false) dUseToolTips: true (default: false) *** dUseToolTipsInLocalsView: false (default: false) dUseToolTipsInBreakpointsView: false (default: false) dUseAddressInBreakpointsView: false (default: false) dUseAddressInStackView: false (default: false) dRegisterForPostMortem: false (default: false) dLoadGdbInit: true (default: true) dLoadGdbDumpers: true (default: true) dAttemptQuickStart: false (default: false) dGdbStartupCommands: (default: ) dGdbPostAttachCommands: (default: ) dWatchdogTimeout: 20 (default: 20) dAutoEnrichParameters: false (default: true) *** dUseDynamicType: true (default: true) dTargetAsync: false (default: false) dWarnOnReleaseBuilds: true (default: true) dMultiInferior: false (default: false) dIntelFlavor: false (default: false) dIdentifyDebugInfoPackages: false (default: false) dMaximalStackDepth: 20 (default: 20) dAlwaysAdjustStackColumnWidths: false (default: false) dShowStandardNamespace: true (default: true) dShowQtNamespace: true (default: true) dSortStructMembers: true (default: true) dAutoDerefPointers: true (default: true) dAlwaysAdjustLocalsColumnWidths: false (default: false) dMaximalStringLength: 1 (default: 1) dListSourceFiles: false (default: false) dSkipKnownFrames: false (default: false) dEnableReverseDebugging: false (default: false) dAllPluginBreakpoints: true (default: true) dSelectedPluginBreakpoints: false (default: false) dAdjustBreakpointLocations: true (default: true) dAlwaysAdjustBreakpointsColumnWidths: false (default: false) dNoPluginBreakpoints: false (default: false) dSelectedPluginBreakpointsPattern: .* (default: .*) dBreakOnThrow: false (default: false) dBreakOnCatch: false (default: false) dBreakOnWarning: false (default: false) dBreakOnFatal: false (default: false) dBreakOnAbort: true (default: false) *** dAlwaysAdjustRegistersColumnWidths: false (default: false) dAlwaysAdjustSnapshotsColumnWidths: false (default: false) dAlwaysAdjustThreadsColumnWidths: false (default: false) dAlwaysAdjustModulesColumnWidths: false (default: false) dShowQmlObjectTree: true (default: true) dQmlInspector.ShowAppOnTop: false (default: false) dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master] dQUEUE: SETUP ENGINE dCALL: SETUP ENGINE dTRYING TO START ADAPTER dENABLING TEST CASE: 0 dSTARTING C:\Qt\qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\gdb-i686-pc-mingw32.exe -i mi --tty=\\.\pipe\creator-1120-2149 dGDB STARTED, INITIALIZING IT <28show version <29show debug-file-directory <30set print object on <31set breakpoint pending on <32set print elements 1 <33set overload-resolution off <34handle SIGSEGV nopass stop print <35set unwindonsignal on <36set width 0 <37set height 0 <38-interpreter-exec console "set remotecache on" <39-interpreter-exec console "maintenance set internal-warning quit no" <40-interpreter-exec console "maintenance set internal-error quit no" dTHE FOLLOWING COMMAND CHECKS AVAILABLE FEATURES. AN ERROR IS EXPECTED. <41-interpreter-exec console "disassemble