Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Remote debugging does not start
Forum Updated to NodeBB v4.3 + New Features

Remote debugging does not start

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
remote debuggin
3 Posts 1 Posters 726 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cmazieri
    wrote on 14 Mar 2022, 13:52 last edited by
    #1

    Hi, I am trying to use remote debugging in QtCreator, it use to work on arm kit, but for some reason it does not work anymore, when I start the debugger it just runs the application without opening the debugger window.

    This is the output on 'Application Output':

    10:32:04: Checking available ports...
    10:32:05: Found 101 free ports.
    10:32:05: Starting gdbserver --multi :10000...
    10:32:05: Debugging /tmp/mzTest ...
    Listening on port 10000
    Remote debugging from host ::ffff:10.0.2.2, port 33724
    Process /tmp/mzTest created; pid = 584
    
    -----> searchTreeData(): OK
    
    
    -----> searchTreeData(): OK
    
    Child exited with status 0
    10:32:06: Debugging of /tmp/mzTest has finished with exit code 0.
    10:32:06: Application finished with exit code 0.
    
    C 1 Reply Last reply 14 Mar 2022, 14:26
    0
    • C cmazieri
      14 Mar 2022, 13:52

      Hi, I am trying to use remote debugging in QtCreator, it use to work on arm kit, but for some reason it does not work anymore, when I start the debugger it just runs the application without opening the debugger window.

      This is the output on 'Application Output':

      10:32:04: Checking available ports...
      10:32:05: Found 101 free ports.
      10:32:05: Starting gdbserver --multi :10000...
      10:32:05: Debugging /tmp/mzTest ...
      Listening on port 10000
      Remote debugging from host ::ffff:10.0.2.2, port 33724
      Process /tmp/mzTest created; pid = 584
      
      -----> searchTreeData(): OK
      
      
      -----> searchTreeData(): OK
      
      Child exited with status 0
      10:32:06: Debugging of /tmp/mzTest has finished with exit code 0.
      10:32:06: Application finished with exit code 0.
      
      C Offline
      C Offline
      cmazieri
      wrote on 14 Mar 2022, 14:26 last edited by
      #2

      In fact I see the message :

      SOFT ASSERT: "d->m_logWindow" in file /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp, line 1756
      MSG: "QUIT DEBUGGER REQUESTED IN STATE 16"

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cmazieri
        wrote on 30 Mar 2022, 20:14 last edited by
        #3

        More messages:

        SOFT ASSERT: "false && "__cplusplus is not predefined, assuming latest C++ we support."" in file /home/qt/work/build/qt-creator/src/plugins/projectexplorer/toolchain.cpp, line 443
        SOFT ASSERT: "false && "__cplusplus is not predefined, assuming latest C++ we support."" in file /home/qt/work/build/qt-creator/src/plugins/projectexplorer/toolchain.cpp, line 443
        SOFT ASSERT: "d->m_logWindow" in file /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp, line 1756
        MSG: "QUIT DEBUGGER REQUESTED IN STATE 16"
        SOFT ASSERT: "d->m_logWindow" in file /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp, line 1756
        MSG: "126^done"
        SOFT ASSERT: "d->m_logWindow" in file /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp, line 1756
        MSG: "COOKIE FOR TOKEN 126 ALREADY EATEN (DebuggerFinished). TWO RESPONSES FOR ONE COMMAND?"
        SOFT ASSERT: "d->m_logWindow" in file /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp, line 1756
        MSG: "(gdb) "
        SOFT ASSERT: "d->m_logWindow" in file /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp, line 1756
        MSG: "\nNON-CRITICAL TIMEOUT\nCOMMANDS STILL IN PROGRESS: "

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved