[Interest] Broken Android gdb debugging ?
Edward Sutton
edward.sutton at subsite.com
Mon Apr 25 23:02:13 CEST 2016
Thank you Andre.
After rolling back to r10E I still cannot deploy and debug. It no longer hangs at the deploy stage. This is an improvement.
The Android Kit GDB Server is still pointing to the Android Studio ndk-bundle even thought it has been removed.
I cannot seem to fix this?
I unchecked NDK 12 from Android Studio SDK Manager and removed it.
Then I downloaded/installed r10E from:
http://dl.google.com/android/repository/android-ndk-r10e-darwin-x86_64.zip
Removed Qt 5.6.0 and reinstalled.
Changed Qt -> Android, NDK Location from Android NDK location of:
~/Library/Android/sdk/ndk-bundle
To
~/android/android-ndk-r10e
In Application Output I see::
Debugging starts
Debugging has finished
sStarting debugger "GdbEngine" for ABI "arm-linux-android-elf-32bit"...
dStart parameters: 'com.ditchwitch.tsr' mode: 6
dABI: arm-linux-android-elf-32bit
dLanguages: c++
dExecutable: /Users/edward3/Documents/projects/tsr-mobile-google-analytics/build-tsr-Android_for_armeabi_v7a_GCC_4_9_Qt_5_6_0-Debug/app_process
dDebugger: /Users/edward3/android/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gdb
dProject: /Users/edward3/Documents/projects/tsr-mobile-google-analytics/sourceAddtional Search Directories:
dRemote: :5039
dSysroot:
dDebug Source Location:
dDebugger settings:
dBreakOnWarning: false (default: false)
dShowQmlObjectTree: true (default: true)
dBreakOnAbort: false (default: false)
dSelectedPluginBreakpointsPattern: .* (default: .*)
dNoPluginBreakpoints: false (default: false)
dBreakOnCatch: false (default: false)
dBreakOnThrow: false (default: false)
dQmlInspector.ShowAppOnTop: false (default: false)
dLoadGdbDumpers2: false (default: false)
dLoadGdbInit: true (default: true)
dGdbStartupCommands: (default: )
dAttemptQuickStart: false (default: false)
dCDB_Console: false (default: false)
dBreakOnCrtDbgReport: false (default: false)
dIgnoreFirstChanceAccessViolation: false (default: false)
dBreakpointCorrection: true (default: true)
dWarnOnReleaseBuilds: true (default: true)
dTargetAsync: false (default: false)
dIntelFlavor: false (default: false)
dMultiInferior: false (default: false)
dWatchdogTimeout: 20 (default: 20)
dGdbPostAttachCommands: (default: )
dUseDynamicType: true (default: true)
dAutoEnrichParameters: true (default: true)
dShowQtNamespace: true (default: true)
dShowStandardNamespace: true (default: true)
dAutoDerefPointers: true (default: true)
dSortStructMembers: true (default: true)
dMaximalStackDepth: 20 (default: 20)
dIdentifyDebugInfoPackages: false (default: false)
dAllPluginBreakpoints: true (default: true)
dAdjustBreakpointLocations: true (default: true)
dSelectedPluginBreakpoints: false (default: false)
dDisplayStringLimit: 100 (default: 100)
dMaximalStringLength: 10000 (default: 10000)
dEnableReverseDebugging: false (default: false)
dSkipKnownFrames: false (default: false)
dAutoQuit: false (default: false)
dVerboseLog: false (default: false)
dLogTimeStamps: false (default: false)
dUseAlternatingRowColours: false (default: false)
dUseMessageBoxForSignals: true (default: true)
dFontSizeFollowsEditor: false (default: false)
dRaiseOnInterrupt: true (default: true)
dBreakpointsFullPath: false (default: false)
dUseDebuggingHelper: true (default: true)
dStationaryEditorWhileStepping: false (default: false)
dCloseBuffersOnExit: false (default: false)
dSwitchModeOnExit: false (default: false)
dCloseMemoryBuffersOnExit: true (default: true)
dUseToolTipsInBreakpointsView: true (default: true)
dUseToolTipsInBreakpointsView: true (default: false) ***
dUseAddressInStackView: false (default: false)
dUseAddressInBreakpointsView: false (default: false)
dShowThreadNames: false (default: false)
dUseCodeModel: true (default: true)
dUseToolTipsInLocalsView: false (default: false)
dUseToolTips: true (default: true)
dSymbolPaths: (default: )
dAdditionalArguments: (default: )
dBreakEvent: (default: )
dSourcePaths: (default: )
dAlwaysAdjustColumnWidths: true (default: true)
dGdbCustomDumperCommands: (default: )
dExtraDumperFile: (default: )
dBreakOnFatal: false (default: false)
dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
dQUEUE: SETUP ENGINE
dCALL: SETUP ENGINE
dTRYING TO START ADAPTER
dNOTE: REQUEST REMOTE SETUP
dNOTE: INFERIOR EXITED
dState changed from EngineSetupRequested(1) to InferiorShutdownOk(18) [master]
dState changed from InferiorShutdownOk(18) to EngineShutdownRequested(19) [master]
dQUEUE: SHUTDOWN ENGINE
dCALL: SHUTDOWN ENGINE
dINITIATE GDBENGINE SHUTDOWN IN STATE 0, PROC: 0
dNOTE: ENGINE SHUTDOWN OK
dState changed from EngineShutdownRequested(19) to EngineShutdownOk(21) [master]
dState changed from EngineShutdownOk(21) to DebuggerFinished(22) [master]
dQUEUE: FINISH DEBUGGER
dNOTE: FINISH DEBUGGER
dHANDLE RUNCONTROL FINISHED
sDebugger finished.
-Ed
On Apr 25, 2016, at 3:11 PM, André Pönitz <apoenitz at t-online.de<mailto:apoenitz at t-online.de>> wrote:
On Mon, Apr 25, 2016 at 07:57:55PM +0000, Edward Sutton wrote:
My Android gdb debugging and deployment broke recently after I switched from Eclipse to Android Studio and installed Qt 5.6.0.
I am not sure what to check?
Try NDK 10e, not 11b or 11c
Andre'
This email and any files transmitted with it from The Charles Machine Works, Inc. are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the sender. Our company accepts no liability for the contents of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160425/24b2acd2/attachment.html>
More information about the Interest
mailing list