1

Topic: Debugging in QtCreator broke

Hi, All! Debugging from QtCreator' under Android unexpectedly ceased to work. And out of the blue, here just all was good, but after the next reassembly of the project broke. Not that absolutely - my application by a debugger is launched, application debugging messages are deduced in the console, a debugger I can kill application, but on break points does not stop, though burst. At the assembly of the same application under a desktop the debugger works, but it is necessary under Androidom. Shamansky dancings - reinstallations, cleanings, reboots, reassembly of all and all did not help. Thus, in Debuger log noted such line >& "No symbol table is loaded. Use the \" file \"command.\n" That it means? The assembly debug, that is symbol table should be. How to understand, whether there is it because of what does not boot, and what it for a command file and to what it to apply?

2

Re: Debugging in QtCreator broke

Hello, sz36, you wrote: S> Hi, All! S> debugging from QtCreator' under Android Unexpectedly ceased to work. And out of the blue, here just all was good, but after the next reassembly of the project broke. Not that absolutely - my application by a debugger is launched, application debugging messages are deduced in the console, a debugger I can kill application, but on break points does not stop, though burst. At the assembly of the same application under a desktop the debugger works, but it is necessary under Androidom. S> Shamansky dancings - reinstallations, cleanings, reboots, reassembly of all and all did not help. Thus, in Debuger log noted such line S> >>& "No symbol table is loaded. Use the \" file \"command.\n" S> That it means? The assembly debug, that is symbol table should be. How to understand, whether there is it because of what does not boot, and what it for a command file and to what it to apply? At first sight, for  gathers without the debug information. Look at a broad gull of the assembly for , whether there is there a magic key-g. If is not present, means it is necessary to search, where it disappeared.

3

Re: Debugging in QtCreator broke

Hello, alpha21264, you wrote: A> At first sight, for  gathers without the debug information. A> look at a broad gull of the assembly for , whether there is there a magic key-g. Line I do not understand, where there that. There are here such records on each file of source codes, probably compilation, there a key-g is, and even two times C:\Android\SDK\ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++-c-D __ ANDROID_API __ =16 - sysroot=C:\Android\SDK\ndk-bundle/sysroot-isystem C:\Android\SDK\ndk-bundle/sysroot/usr/include/arm-linux-androideabi-isystem C:\Android\SDK\ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include-isystem C:\Android\SDK\ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include-fstack-protector-strong-DANDROID-march=armv7-a-mfloat-abi=softfp-mfpu=vfp-fno-builtin-memmove-g-g-marm-O0-std=gnu ++ 14-Wall-W-D_REENTRANT-fPIC-DANDROID-DQT_DEPRECATED_WARNINGS-DCOM_PORT_ANDROID = \"OM_PORT_ANDROID \"-DQT_QML_DEBUG-DQT_QUICKCONTROLS2_LIB-DQT_QUICK_LIB-DQT_WIDGETS_LIB-DQT_GUI_LIB-DQT_QML_LIB-DQT_NETWORK_LIB-DQT_ANDROIDEXTRAS_LIB-DQT_CORE_LIB-I.\TelemakDevice-I.-I.\.\Qt\5.11.0\android_armv7\include-I.\. . \QT\5.11.0\ANDROID_ARMV7\INCLUDE\QTQUICKCONTROLS2-I.\.\Qt\5.11.0\android_armv7\include\QtQuick-I.\.\Qt\5.11.0\android_armv7\include\QtWidgets-I.\.\Qt\5.11.0\android_armv7\include\QtGui-I.\.\Qt\5.11.0\android_armv7\include\QtQml-I.\.\Qt\5.11.0\android_armv7\include\QtNetwork-I.\.\Qt\5.11.0\android_armv7\include\QtAndroidExtras-I.\.\Qt\5.11.0\android_armv7\include\QtCore-I.-I.\.\Qt\5.11.0\android_armv7\mkspecs\android-g ++-o ComPortAndroid.obj. . \TelemakDevice\android\ComPortAndroid.cpp And here it is similar to a command , here a key-g it is not visible C:\Android\SDK\ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ - sysroot=C:\Android\SDK\ndk-bundle/platforms/android-16/arch-arm/-Wl,-soname, libTelemakDevice.so-Wl,-rpath = C:/Qt/5.11.0/android_armv7/lib-Wl,-rpath-link = C:/Qt/5.11.0/android_armv7/lib-Wl, - no-undefined-Wl,-z, noexecstack-shared-o libTelemakDevice.so ComPortAndroid.obj main.obj GolubProxyModel.obj Group.obj DeviceModel.obj Executer.obj Settings.obj qrc_qml.obj qrc_ini.obj qrc_icon.obj moc_GolubProxyModel.obj moc_QmlClipboardAdapter.obj moc_Group.obj moc_DeviceModel.obj moc_Executer.obj moc_Settings.obj-LC:\Android\SDK\ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a - Lc:/android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x - LC:/Qt/5.11.0/android_armv7/lib-lQt5QuickControls2-Lc:\utils\android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a - Lc:/utils/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.9-LC:\Qt\5.11.0\android_armv7/lib-lQt5Quick-lQt5Widgets-lQt5Gui-lQt5Qml-lQt5Network-lQt5AndroidExtras-lQt5Core-lGLESv2-lgnustl_shared-lgcc-llog-lz-lm-ldl-lc C:\Qt\5.11.0\android_armv7\bin\qmake.exe-install qinstall-exe libTelemakDevice.so C:\QtProjects\Build-TelemakDevice-Android\android-build\libs\armeabi-v7a\libTelemakDevice.so Where this key should be?

4

Re: Debugging in QtCreator broke

Hello, sz36, you wrote: S> And here it is similar to a command , here a key-g it is not visible S> Where this key should be? Well that the reason is found. Now it is possible: 1) to Click in Qt-Creator on adjustments, to try to find element of dialogue of type "If assembly for Android command such" 2) Simply to look in directory Qt-Creator for a line containing "- no-undefined". For certain it will be any xml-file. And to import there this key simply hands. It will be rough, but...

5

Re: Debugging in QtCreator broke

Hello, alpha21264, you wrote: A> Well that the reason is found. Now it is possible: A> 1) to Click in Qt-Creator on adjustments, to try to find element of dialogue of type A> "If assembly for Android command such" A> 2) Simply to look in directory Qt-Creator for a line containing "- no-undefined". , did not help. In adjustments anything similar did not find out, neither in QtCreator, nor in project adjustments. But found file C:\Qt\5.11.0\android_armv7\mkspecs\common\android-base-tail.conf added a key-g there, and now the assembly is launched so C:\Android\SDK\ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ - sysroot=C:\Android\SDK\ndk-bundle/platforms/android-19/arch-arm/-Wl,-soname, libTelemakDevice.so-Wl,-rpath = C:/Qt/5.11.0/android_armv7/lib-Wl,-rpath-link = C:/Qt/5.11.0/android_armv7/lib-Wl, - no-undefined-Wl,-z, noexecstack-shared-g-o libTelemakDevice.so ComPortAndroid.obj main.obj GolubProxyModel.obj Group.obj DeviceModel.obj Executer.obj Settings.obj qrc_qml.obj qrc_ini.obj qrc_icon.obj moc_GolubProxyModel.obj moc_QmlClipboardAdapter.obj moc_Group.obj moc_DeviceModel.obj moc_Executer.obj moc_Settings.obj-LC:\Android\SDK\ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a - Lc:/android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x - LC:/Qt/5.11.0/android_armv7/lib-lQt5QuickControls2-Lc:\utils\android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a - Lc:/utils/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.9-LC:\Qt\5.11.0\android_armv7/lib-lQt5Quick-lQt5Widgets-lQt5Gui-lQt5Qml-lQt5Network-lQt5AndroidExtras-lQt5Core-lGLESv2-lgnustl_shared-lgcc-llog-lz-lm-ldl-lc C:\Qt\5.11.0\android_armv7\bin\qmake.exe-install qinstall-exe libTelemakDevice.so C:\QtProjects\Build-TelemakDevice-Android\android-build\libs\armeabi-v7a\libTelemakDevice.so But it changed nothing, on former and "No symbol table is loaded. Use the \" file \"command.\n" and break points do not buzz. There are still hypotheses?