Re: [Qt-creator] MinGW GDB not stopping at breakpoints

2013-05-24 Thread Koehne Kai


> -Original Message-
> From: André Hartmann [mailto:andre.hartm...@iseg-hv.de]
> Sent: Friday, May 24, 2013 9:39 AM
> To: Koehne Kai
> Cc: qt-creator@qt-project.org
> Subject: Re: [Qt-creator] MinGW GDB not stopping at breakpoints
> 
> Hello Kai,
> 
>  > we changed the way how breakpoints are set in 2.8 from just the  >
> filename to absolute paths
> 
> Yeah, I remember I saw it on Gerrit...
> 
>  > You can change the breakpoint by right click in Breakpoints  > view->Edit
> Breakpoint...Path, switch to Use File Name.
> 
> Yes this works for me.

I for now reverted the change to use absolute paths In commit 
0a471cc4fd4d4a7549038e7bbb27074e6cadb5a3 . There seem to be way too many corner 
cases where it breaks :(

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

2013-05-24 Thread André Hartmann
Hello Kai,

 > we changed the way how breakpoints are set in 2.8 from just the
 > filename to absolute paths

Yeah, I remember I saw it on Gerrit...

 > You can change the breakpoint by right click in Breakpoints
 > view->Edit Breakpoint...Path, switch to Use File Name.

Yes this works for me.
In my case, the source and build directory are on a network-drive.
I will try later on a local drive to see how it behaves there.

Best regards,
André

Am 24.05.2013 08:46, schrieb Koehne Kai:
>> -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
>
>


-- 
Best regards / Mit freundlichen Grüßen
André Hartmann, Dipl.-Ing. (FH)
Software Project Manager

iseg Spezialelektronik GmbH |  phone: ++49 (0)351 26996-43
Bautzner Landstr. 23|  fax:   ++49 (0)351 26996-21
D-01454 Radeberg / Rossendorf   |  web:   www.iseg-hv.com

Geschäftsführer / Managing director: Dr. F. Gleisberg, Dr. J. Pöthig
Amtsgericht / Lower district court: Dresden HRB 16250
Ust.-Id.-Nr. / VAT-ID: DE812508942

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtümlich erhalten haben, informieren Sie bitte
sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and delete this e-mail.
Any unauthorized copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.
___
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

2013-05-23 Thread Koehne Kai
> -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

2013-05-23 Thread Yang Fan
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


[Qt-creator] MinGW GDB not stopping at breakpoints

2013-05-23 Thread André Hartmann

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