Добрый день! QtCreator 6.0.2, AstraLinux 1.7. Проект собирается через CMake, если это имеет значение. Отладка вроде настроена как надо, тип сборки стоит Debug, но при запуске в режиме отладки в правом нижнем углу плашка «Запуск отладчика» показывает красный цвет. В журнале такие записи:
dEXAMINING /home/astra/Projects/bss/build/bin/self-info
dELF SECTIONS: .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .qtversion .eh_frame_hdr .eh_frame .gcc_except_table .init_array .fini_array .data.rel.ro .dynamic .got .got.plt .data .bss .comment .debug_aranges .debug_info .debug_abbrev .debug_line .debug_str .debug_ranges .symtab .strtab .shstrtab
dStart parameters: 'self-info' mode: 1
dABI: x86-linux-generic-elf-64bit
dLanguages: c++
dExecutable: /home/astra/Projects/bss/build/bin/self-info
dDirectory: /home/astra/Projects/bss/build/bin
dDebugger: /usr/bin/gdb
dProject: /home/astra/Projects/bss
dAdditional Search Directories:
dSysroot:
dDebug Source Location:
dDebugger settings:
d/AdditionalArguments: (default: )
d/AdjustBreakpointLocations: true (default: true)
d/AlwaysAdjustColumnWidths: true (default: true)
d/AutoDerefPointers: true (default: true)
d/AutoEnrichParameters: true (default: true)
d/BreakEvent: (default: )
d/BreakOnAbort: false (default: false)
d/BreakOnCatch: false (default: false)
d/BreakOnCrtDbgReport: false (default: false)
d/BreakOnFatal: false (default: false)
d/BreakOnThrow: false (default: false)
d/BreakOnWarning: false (default: false)
d/BreakpointCorrection: true (default: true)
d/BreakpointsFullPath: false (default: false)
d/CDB_Console: false (default: false)
d/CloseBuffersOnExit: false (default: false)
d/CloseMemoryBuffersOnExit: true (default: true)
d/DisplayStringLimit: 300 (default: 300)
d/EnableReverseDebugging: false (default: false)
d/ExtraDumperFile: (default: )
d/FirstChanceExceptionTaskEntry: true (default: true)
d/FontSizeFollowsEditor: false (default: false)
d/ForceLoggingToConsole: false (default: false)
d/GdbCustomDumperCommands: (default: )
d/GdbPostAttachCommands: (default: )
d/GdbStartupCommands: (default: )
d/IgnoreFirstChanceAccessViolation: false (default: false)
d/IntelFlavor: false (default: false)
d/LoadGdbDumpers2: false (default: false)
d/LoadGdbInit: true (default: true)
d/LogTimeStamps: false (default: false)
d/MaximalStackDepth: 20 (default: 20)
d/MaximalStringLength: 10000 (default: 10000)
d/MultiInferior: false (default: false)
d/RaiseOnInterrupt: true (default: true)
d/SecondChanceExceptionTaskEntry: true (default: true)
d/ShowQObjectNames2: true (default: true)
d/ShowQmlObjectTree: true (default: true)
d/ShowQtNamespace: true (default: true)
d/ShowStandardNamespace: true (default: true)
d/ShowThreadNames: false (default: false)
d/SkipKnownFrames: false (default: false)
d/SkipKnownFrames: false (default: false)
d/SortStructMembers: true (default: true)
d/SourcePaths: (default: )
d/StationaryEditorWhileStepping: false (default: false)
d/SwitchModeOnExit: false (default: false)
d/SymbolPaths: (default: )
d/TargetAsync: false (default: false)
d/UseAlternatingRowColours: false (default: false)
d/UseAnnotations: true (default: true)
d/UseCodeModel: true (default: true)
d/UseDebuggingHelper: true (default: true)
d/UseDynamicType: true (default: true)
d/UseIndexCache: true (default: true)
d/UseMessageBoxForSignals: true (default: true)
d/UsePseudoTracepoints: true (default: true)
d/UsePythonDumper: true (default: true)
d/UseToolTips: true (default: true)
d/UseToolTipsInBreakpointsView: false (default: false)
d/UseToolTipsInLocalsView: false (default: false)
d/UseToolTipsInStackView: true (default: true)
d/WarnOnReleaseBuilds: true (default: true)
d/WatchdogTimeout: 20 (default: 20)
dState changed from DebuggerNotReady(0) to EngineSetupRequested(1)
dCALL: SETUP ENGINE
dTRYING TO START ADAPTER
dENABLING TEST CASE: 0
dSTARTING /usr/bin/gdb --tty=/tmp/QtCreator-uXHODZ/outputcollector.MRMaXl -i mi
dGDB STARTED, INITIALIZING IT
<782show version
<783show debug-file-directory
<784set breakpoint pending on
<785set print elements 10000
<786set index-cache on
<787set unwindonsignal on
<788set width 0
<789set height 0
Настройка подчинённого...
<790set substitute-path /home/qt/work/qt /usr/include/x86_64-linux-gnu/../Src
<791python sys.path.insert(1, '/usr/share/qtcreator/debugger/')
<792python sys.path.append('/usr/bin/gdb/data-directory/python')
<793python from gdbbridge import *
<794python theDumper.setFallbackQtVersion({"token":794,"version":331522})
<795python theDumper.loadDumpers({"token":795})
>=thread-group-added,id="i1"
>~"GNU gdb (AstraLinuxSE 8.2.1-2) 8.2.1\n"
>~"Copyright (C) 2018 Free Software Foundation, Inc.\n"
>~"License 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."
>~"\nType \"show copying\" and \"show warranty\" for details.\n"
>~"This GDB was configured as \"x86_64-linux-gnu\".\n"
>~"Type \"show configuration\" for configuration details.\n"
>~"For bug reporting instructions, please see:\n"
>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
>~"Find the GDB manual and other documentation resources online at:\n <http://www.gnu.org/software/gdb/documentation/>."
>~"\n\n"
>~"For help, type \"help\".\n"
>~"Type \"apropos word\" to search for commands related to \"word\".\n"
>&"show version\n"
>~"GNU gdb (AstraLinuxSE 8.2.1-2) 8.2.1\n"
>~"Copyright (C) 2018 Free Software Foundation, Inc.\n"
>~"License 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."
>~"\nType \"show copying\" and \"show warranty\" for details.\n"
>~"This GDB was configured as \"x86_64-linux-gnu\".\n"
>~"Type \"show configuration\" for configuration details.\n"
>~"For bug reporting instructions, please see:\n"
>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
>~"Find the GDB manual and other documentation resources online at:\n <http://www.gnu.org/software/gdb/documentation/>."
>~"\n\n"
>~"For help, type \"help\".\n"
>~"Type \"apropos word\" to search for commands related to \"word\".\n"
>782^done
dPARSING VERSION: 782^done
dSUPPORTED GDB VERSION GNU gdb (AstraLinuxSE 8.2.1-2) 8.2.1
dCopyright (C) 2018 Free Software Foundation, Inc.
dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
dThis is free software: you are free to change and redistribute it.
dThere is NO WARRANTY, to the extent permitted by law.
dType "show copying" and "show warranty" for details.
dThis GDB was configured as "x86_64-linux-gnu".
dType "show configuration" for configuration details.
dFor bug reporting instructions, please see:
d<http://www.gnu.org/software/gdb/bugs/>.
dFind the GDB manual and other documentation resources online at:
d <http://www.gnu.org/software/gdb/documentation/>.
d
dFor help, type "help".
dType "apropos word" to search for commands related to "word".
dGNU gdb (AstraLinuxSE 8.2.1-2) 8.2.1
dCopyright (C) 2018 Free Software Foundation, Inc.
dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
dThis is free software: you are free to change and redistribute it.
dThere is NO WARRANTY, to the extent permitted by law.
dType "show copying" and "show warranty" for details.
dThis GDB was configured as "x86_64-linux-gnu".
dType "show configuration" for configuration details.
dFor bug reporting instructions, please see:
d<http://www.gnu.org/software/gdb/bugs/>.
dFind the GDB manual and other documentation resources online at:
d <http://www.gnu.org/software/gdb/documentation/>.
d
dFor help, type "help".
dType "apropos word" to search for commands related to "word".
dUSING GDB VERSION: 80201, BUILD: 2
<796-interpreter-exec console "set target-async off"
>&"show debug-file-directory\n"
>~"The directory where separate debug symbols are searched for is \"/usr/lib/debug\".\n"
>783^done
>&"set breakpoint pending on\n"
>=cmd-param-changed,param="breakpoint pending",value="on"
>784^done
>&"set print elements 10000\n"
>=cmd-param-changed,param="print elements",value="10000"
>785^done
>&"set index-cache on\n"
>&"No symbol table is loaded. Use the \"file\" command.\n"
>786^error,msg="No symbol table is loaded. Use the \"file\" command."
>&"set unwindonsignal on\n"
>=cmd-param-changed,param="unwindonsignal",value="on"
>787^done
>&"set width 0\n"
>=cmd-param-changed,param="width",value="4294967295"
>788^done
>&"set height 0\n"
>789^done
>&"set substitute-path /home/qt/work/qt /usr/include/x86_64-linux-gnu/../Src\n"
>790^done
>&"python sys.path.insert(1, '/usr/share/qtcreator/debugger/')\n"
>791^done
>&"python sys.path.append('/usr/bin/gdb/data-directory/python')\n"
>792^done
>&"python from gdbbridge import *\n"
>793^done
>&"python theDumper.setFallbackQtVersion({\"token\":794,\"version\":331522})\n"
>~"bridgemessage={msg=\"b'got fallback qt version 0x50f02'\"},\n"
>794^done
>&"python theDumper.loadDumpers({\"token\":795})\n"
>~"result={token=\"795\",dumpers=[{type=\"QVariant (QVariantMap)\",formats=\"17\"},{type=\"boost__bimaps__bimap\"},{type=\"boost__optional\"},{type=\"boost__shared_ptr\"},{type=\"boost__container__list\"},{type=\"boost__container__vector\",formats=\"16\"},{type=\"boost__container__static_vector\",formats=\"16\"},{type=\"boost__gregorian__date\"},{type=\"boost__posix_time__ptime\"},{type=\"boost__posix_time__time_duration\"},{type=\"boost__unordered__unordered_set\"},{type=\"boost__variant\"},{type=\"QAtomicInt\"},{type=\"QBasicAtomicInt\"},{type=\"QAtomicPointer\"},{type=\"QByteArray\",editable=\"true\",formats=\"5, 6, 7, 8\"},{type=\"QBitArray\"},{type=\"QChar\"},{type=\"Qt__ItemDataRole\"},{type=\"QStandardItemData\"},{type=\"QStandardItem\"},{type=\"QDate\"},{type=\"QTime\"},{type=\"QTimeZone\"},{type=\"QDateTime\"},{type=\"QDir\"},{type=\"QEvent\"},{type=\"QKeyEvent\"},{type=\"QFile\"},{type=\"QFileInfo\"},{type=\"QFixed\"},{type=\"QFiniteStack\",formats=\"16\"},{type=\"QFlags\"},{type=\"QHash\",formats=\"17\"},{type=\"QVariantHash\"},{type=\"QHashNode\",formats=\"17\"},{type=\"QHash__const_iterator\"},{type=\"QHash__iterator\"},{type=\"QHostAddress\"},{type=\"QIPv6Address\"},{type=\"QList\",formats=\"18, 19\"},{type=\"QVariantList\"},{type=\"QImage\",formats=\"2, 4\"},{type=\"QLinkedList\"},{type=\"QLocale\"},{type=\"QMapNode\"},{type=\"QMap\",formats=\"17\"},{type=\"QMultiMap\",formats=\"17\"},{type=\"QVariantMap\",formats=\"17\"},{type=\"QMetaMethod\"},{type=\"QMetaEnum\"},{type=\"QMetaProperty\"},{type=\"QMetaClassInfo\"},{type=\"QMetaObject\"},{type=\"QPair\"},{type=\"QProcEnvKey\"},{type=\"QPixmap\"},{type=\"QMargins\"},{type=\"QPoint\"},{type=\"QPointF\"},{type=\"QRect\"},{type=\"QRectF\"},{type=\"QRegExp\"},{type=\"QRegion\"},{type=\"QScopedPointer\"},{type=\"QSet\"},{type=\"QSharedData\"},{type=\"QSharedDataPointer\"},{type=\"QSize\"},{type=\"QSizeF\"},{type=\"QSizePolicy__Policy\"},{type=\"QSizePolicy\"},{type=\"QStack\",formats=\"16\"},{type=\"QPolygonF\"},{type=\"QPolygon\"},{type=\"QGraphicsPolygonItem\"},{type=\"QString\",editable=\"true\",formats=\"2, 4\"},{type=\"QStaticStringData\"},{type=\"QTypedArrayData\"},{type=\"QStringData\"},{type=\"QHashedString\"},{type=\"QQmlRefCount\"},{type=\"QStringRef\"},{type=\"QStringList\"},{type=\"QTemporaryFile\"},{type=\"QTextCodec\"},{type=\"QTextCursor\"},{type=\"QTextDocument\"},{type=\"QUrl\",formats=\"2, 4\"},{type=\"QUuid\"},{type=\"QVariant\"},{type=\"QVector\",editable=\"true\",formats=\"16\"},{type=\"QVarLengthArray\"},{type=\"QSharedPointer\"},{type=\"QWeakPointer\"},{type=\"QPointer\"},{type=\"QXmlAttributes__Attribute\"},{type=\"QXmlAttributes\"},{type=\"QXmlStreamStringRef\"},{type=\"QXmlStreamAttribute\"},{type=\"QV4__Heap__Base\"},{type=\"QV4__Heap__String\"},{type=\"QV4__Object\"},{type=\"QV4__FunctionObject\"},{type=\"QV4__CompilationUnit\"},{type=\"QV4__CallContext\"},{type=\"QV4__ScriptFunction\"},{type=\"QV4__SimpleScriptFunction\"},{type=\"QV4__ExecutionContext\"},{type=\"QQmlSourceLocation\"},{type=\"QV4__String\"},{type=\"QV4__Identifier\"},{type=\"QV4__PropertyHash\"},{type=\"QV4__InternalClass__Transition\"},{type=\"QV4__InternalClassTransition\"},{type=\"QV4__SharedInternalClassData\"},{type=\"QV4__IdentifierTable\"},{type=\"QV4_Object\"},{type=\"QV4__Value\"},{type=\"QV__PropertyHashData\"},{type=\"QV__PropertyHash\"},{type=\"QV4__Scoped\"},{type=\"QV4__ScopedString\"},{type=\"QJSValue\"},{type=\"QQmlBinding\"},{type=\"QTJSC__JSValue\"},{type=\"QScriptValue\"},{type=\"QQmlAccessorProperties__Properties\"},{type=\"QJsonPrivate__qle_bitfield\"},{type=\"QJsonPrivate__qle_signedbitfield\"},{type=\"QJsonPrivate__q_littleendian\"},{type=\"QJsonValue\"},{type=\"QJsonArray\"},{type=\"QJsonObject\"},{type=\"QSqlResultPrivate\"},{type=\"QSqlField\"},{type=\"QLazilyAllocated\"},{type=\"qfloat16\"},{type=\"QCborArray\"},{type=\"QCborMap\"},{type=\"QCborValue\"},{type=\"QCborValue_proxy\"},{type=\"Utils__Id\"},{type=\"Debugger__Internal__GdbMi\"},{type=\"Debugger__Internal__DisassemblerLine\"},{type=\"Debugger__Internal__WatchData\"},{type=\"Debugger__Internal__WatchItem\"},{type=\"Debugger__Internal__BreakpointModelId\"},{type=\"Debugger__Internal__ThreadId\"},{type=\"CPlusPlus__ByteArrayRef\"},{type=\"CPlusPlus__Identifier\"},{type=\"CPlusPlus__Symbol\"},{type=\"CPlusPlus__Class\"},{type=\"CPlusPlus__IntegerType\"},{type=\"CPlusPlus__FullySpecifiedType\"},{type=\"CPlusPlus__NamedType\"},{type=\"CPlusPlus__PointerType\"},{type=\"CPlusPlus__TemplateNameId\"},{type=\"CPlusPlus__QualifiedNameId\"},{type=\"CPlusPlus__Literal\"},{type=\"CPlusPlus__StringLiteral\"},{type=\"CPlusPlus__Internal__Value\"},{type=\"Utils__FilePath\"},{type=\"Utils__FileName\"},{type=\"Utils__ElfSection\"},{type=\"Utils__Port\"},{type=\"Utils__Environment\"},{type=\"Utils__NameValueDictionary\"},{type=\"Utf8String\"},{type=\"CPlusPlus__Token\"},{type=\"CPlusPlus__Internal__PPToken\"},{type=\"ProString\"},{type=\"ProKey\"},{type=\"Core__GeneratedFile\"},{type=\"ProjectExplorer__ProjectNode\"},{type=\"CMakeProjectManager__Internal__CMakeProjectNode\"},{type=\"QmakeProjectManager__QmakePriFileNode\"},{type=\"QmakeProjectManager__QmakeProFileNode\"},{type=\"cv__Size_\"},{type=\"cv__Mat\",formats=\"4\"},{type=\"std__array\",formats=\"16\"},{type=\"std____1__array\",formats=\"16\"},{type=\"std__function\"},{type=\"std__complex\"},{type=\"std____1__complex\"},{type=\"std__deque\"},{type=\"std____1__deque\"},{type=\"std____debug__deque\"},{type=\"std__list\"},{type=\"std__list__QNX\"},{type=\"std____debug__list\"},{type=\"std____cxx11__list\"},{type=\"std____1__list\"},{type=\"std__map\",formats=\"17\"},{type=\"std____debug__map\"},{type=\"std____debug__set\"},{type=\"std__multiset\"},{type=\"std____cxx1998__map\"},{type=\"std__multimap\",formats=\"17\"},{type=\"std___Rb_tree_iterator\"},{type=\"std___Rb_tree_const_iterator\"},{type=\"std__map__iterator\"},{type=\"__gnu_debug___Safe_iterator\"},{type=\"std__map__const_iterator\"},{type=\"std__set__iterator\"},{type=\"std__set__const_iterator\"},{type=\"std____cxx1998__set\"},{type=\"std___Tree_const_iterator\"},{type=\"std___Tree_iterator\"},{type=\"std__set\"},{type=\"std__set__QNX\"},{type=\"std____1__set\"},{type=\"std____1__multiset\"},{type=\"std____1__map\",formats=\"17\"},{type=\"std____1__multimap\",formats=\"17\"},{type=\"std____1__map__iterator\"},{type=\"std____1__map__const_iterator\"},{type=\"std____1__set__iterator\"},{type=\"std____1__set_const_iterator\"},{type=\"std__stack\"},{type=\"std____debug__stack\"},{type=\"std____1__stack\"},{type=\"std__string\",editable=\"true\",formats=\"5, 6, 7, 8\"},{type=\"std____1__string\"},{type=\"std____1__wstring\"},{type=\"std____weak_ptr\"},{type=\"std__weak_ptr\"},{type=\"std____1__weak_ptr\"},{type=\"std__shared_ptr\"},{type=\"std____1__shared_ptr\"},{type=\"std__unique_ptr\"},{type=\"std____1__unique_ptr\"},{type=\"std__pair\"},{type=\"std__unordered_map\",formats=\"17\"},{type=\"std____debug__unordered_map\",formats=\"17\"},{type=\"std__unordered_multimap\",formats=\"17\"},{type=\"std____debug__unordered_multimap\",formats=\"17\"},{type=\"std__unordered_set\"},{type=\"std____1__unordered_map\",formats=\"17\"},{type=\"std____1__unordered_set\"},{type=\"std____debug__unordered_set\"},{type=\"std__unordered_multiset\"},{type=\"std____debug__unordered_multiset\"},{type=\"std__valarray\",formats=\"16\"},{type=\"std____1__valarray\",formats=\"16\"},{type=\"std__vector\",editable=\"true\",formats=\"16\"},{type=\"std____1__vector\",formats=\"16\"},{type=\"std____debug__vector\",formats=\"16\"},{type=\"std__initializer_list\"},{type=\"string\",editable=\"true\"},{type=\"std__wstring\",editable=\"true\",formats=\"2, 4\"},{type=\"std__basic_string\"},{type=\"std____cxx11__basic_string\"},{type=\"std____cxx11__string\",editable=\"true\",formats=\"5, 6, 7, 8\"},{type=\"std____cxx11__wstring\",editable=\"true\",formats=\"2, 4\"},{type=\"std____1__basic_string\"},{type=\"wstring\",editable=\"true\"},{type=\"std____1__once_flag\"},{type=\"std__once_flag\"},{type=\"__gnu_cxx__hash_set\"},{type=\"uint8_t\"},{type=\"int8_t\"},{type=\"std__byte\"},{type=\"std__optional\"},{type=\"std__experimental__optional\"},{type=\"__m128\"},{type=\"__m256\"},{type=\"__m512\"},{type=\"__m128d\"},{type=\"__m256d\"},{type=\"__m512d\"},{type=\"__m128i\"},{type=\"__m256i\"},{type=\"__m512i\"},{type=\"gsl__span\"},{type=\"gsl__byte\"},{type=\"Eigen__Matrix\"},{type=\"NimStringDesc\"},{type=\"NimGenericSequence__\"},{type=\"TNimNode\"},{type=\"KDSoapValue1\"},{type=\"KDSoapValue\"},{type=\"WTF__String\"},{type=\"PyTypeObject\"},{type=\"_typeobject\"},{type=\"PyObject\"},{type=\"PyVarObject\"},{type=\"QtcDumperTest_FieldAccessByIndex\"},{type=\"QtcDumperTest_PointerArray\"},{type=\"QtcDumperTest_BufArray\"},{type=\"QtcDumperTest_List__NodeX\"},{type=\"QtcDumperTest_List\"},{type=\"QtcDumperTest_String\"},],python=\"30703\"}\n"
>795^done
dENGINE SUCCESSFULLY STARTED
<797-gdb-set environment LD_LIBRARY_PATH=/home/astra/Projects/bss/build/lib:/opt/burdock/lib:/usr/lib:
<798-gdb-set environment QTDIR=/usr/lib/x86_64-linux-gnu/qt5
<799cd /home/astra/Projects/bss/build/bin
<800-file-exec-and-symbols "/home/astra/Projects/bss/build/bin/self-info"
>796^done
>797^done
>798^done
>&"cd /home/astra/Projects/bss/build/bin\n"
>~"Working directory /home/astra/Projects/bss/build/bin.\n"
>799^done
>800^done
dNOTE: ENGINE SETUP OK
dState changed from EngineSetupRequested(1) to EngineRunRequested(3)
dCALL: RUN ENGINE
Установка точек останова...
dУстановка точек останова...
dTAKING OWNERSHIP OF BREAKPOINT 1
dRUNNING NEEDS-STOP COMMAND -break-insert -f "\"imitator.cpp\":276"
dUNSAFE STATE FOR QUEUED COMMAND. EXECUTING IMMEDIATELY
<801-break-insert -f "\"imitator.cpp\":276"
dTAKING OWNERSHIP OF BREAKPOINT 2
dRUNNING NEEDS-STOP COMMAND -break-insert -f "\"main.cpp\":62"
dUNSAFE STATE FOR QUEUED COMMAND. EXECUTING IMMEDIATELY
<802-break-insert -f "\"main.cpp\":62"
dTAKING OWNERSHIP OF BREAKPOINT 6
dRUNNING NEEDS-STOP COMMAND -break-insert -f "\"selfinformation.cpp\":30"
dUNSAFE STATE FOR QUEUED COMMAND. EXECUTING IMMEDIATELY
<803-break-insert -f "\"selfinformation.cpp\":30"
dTAKING OWNERSHIP OF BREAKPOINT 7
dRUNNING NEEDS-STOP COMMAND -break-insert -f "\"CMakeLists.txt\":9"
dUNSAFE STATE FOR QUEUED COMMAND. EXECUTING IMMEDIATELY
<804-break-insert -f "\"CMakeLists.txt\":9"
<805-exec-run
>&"No source file named main.cpp.\n"
>802^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.cpp\":62",times="0",original-location="\"main.cpp\":62"}
>&"No source file named CMakeLists.txt.\n"
>804^done,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"CMakeLists.txt\":9",times="0",original-location="\"CMakeLists.txt\":9"}
>=thread-group-started,id="i1",pid="22825"
Создана группа потоков i1.
dПолучено уведомление от pid 22825
>=thread-created,id="1",group-id="i1"
Поток 1 создан.
>=thread-exited,id="1",group-id="i1"
Завершился поток 1 из группы i1.
>=thread-group-exited,id="i1"
Группа потоков i1 завершена.
dNOTE: INFERIOR EXITED
dState changed from EngineRunRequested(3) to InferiorShutdownFinished(13)
dState changed from InferiorShutdownFinished(13) to EngineShutdownRequested(14)
dCALL: SHUTDOWN ENGINE
dPLAIN ADAPTER SHUTDOWN 14
dINITIATE GDBENGINE SHUTDOWN, PROC STATE: 2
<806python theDumper.exitGdb({"token":806})
>805^error,msg="During startup program exited with code 127."
eERROR: UNEXPECTED STATE: EngineShutdownRequested WANTED: EngineRunRequested IN /opt/astra/qtcreator/qtcreator-6.0.2/src/plugins/debugger/gdb/gdbengine.cpp:4756
dDuring startup program exited with code 127.
dNOTE: ENGINE RUN FAILED
Запуск неудачно завершился.
dState changed from EngineShutdownRequested(14) to EngineRunFailed(4)
dState changed from EngineRunFailed(4) to EngineShutdownRequested(14)
dCALL: SHUTDOWN ENGINE
dPLAIN ADAPTER SHUTDOWN 14
dINITIATE GDBENGINE SHUTDOWN, PROC STATE: 2
<807python theDumper.exitGdb({"token":807})
>&"python theDumper.exitGdb({\"token\":806})\n"
dQUIT DEBUGGER REQUESTED IN STATE 14
dGDB PROCESS FINISHED, status 0, exit code 0 (0x0)
dNOTE: ENGINE SHUTDOWN FINISHED
dState changed from EngineShutdownRequested(14) to EngineShutdownFinished(15)
Отладчик завершился.
dState changed from EngineShutdownFinished(15) to DebuggerFinished(16)
Несколько раз писала ещё такие предупреждения:
warning: GDB: Failed to set controlling terminal: Inappropriate ioctl for device
warning: Could not trace the inferior process.Error:
warning: ptrace: Operation not permitted
Как всё-таки запустить отладку в QtCreator?