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. Variable not accessible during remote debugging
Forum Updated to NodeBB v4.3 + New Features

Variable not accessible during remote debugging

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 344 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    Mark81
    wrote on 19 Feb 2022, 10:13 last edited by
    #1

    When debugging on my local development machine I can inspect the values of some vars, example:

    Schermata da 2022-02-19 11-07-53.png

    If I select a remote device for the very same application, here what I get:

    Schermata da 2022-02-19 11-11-27.png

    I'm running Qt 6.2.0 and QtCreator 5.0.2. Both the local dev machine and the remote one run Ubuntu 20.04.

    What I need to do to fix this issue?

    J 1 Reply Last reply 21 Feb 2022, 08:03
    0
    • M Mark81
      19 Feb 2022, 10:13

      When debugging on my local development machine I can inspect the values of some vars, example:

      Schermata da 2022-02-19 11-07-53.png

      If I select a remote device for the very same application, here what I get:

      Schermata da 2022-02-19 11-11-27.png

      I'm running Qt 6.2.0 and QtCreator 5.0.2. Both the local dev machine and the remote one run Ubuntu 20.04.

      What I need to do to fix this issue?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 21 Feb 2022, 08:03 last edited by
      #2

      @Mark81 said in Variable not accessible during remote debugging:

      What I need to do to fix this issue?

      Build in debug mode

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply 21 Feb 2022, 09:41
      0
      • J jsulm
        21 Feb 2022, 08:03

        @Mark81 said in Variable not accessible during remote debugging:

        What I need to do to fix this issue?

        Build in debug mode

        M Offline
        M Offline
        Mark81
        wrote on 21 Feb 2022, 09:41 last edited by
        #3

        @jsulm of course I build in debug mode!!!! As you can see if I run the debug configuration locally it works!

        Q 1 Reply Last reply 21 Mar 2023, 00:52
        0
        • M Mark81
          21 Feb 2022, 09:41

          @jsulm of course I build in debug mode!!!! As you can see if I run the debug configuration locally it works!

          Q Offline
          Q Offline
          QtTester
          wrote on 21 Mar 2023, 00:52 last edited by
          #4

          @Mark81 We also have this problem. but with MFC , vs can display the variable value.
          did you use cdb remote debug or remote debugger ?

          1 Reply Last reply
          0
          • Q QtTester referenced this topic on 21 Mar 2023, 01:10

          • Login

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