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

Variable not accessible during remote debugging

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 470 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 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?

    jsulmJ 1 Reply Last reply
    0
    • M Mark81

      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?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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
      0
      • jsulmJ jsulm

        @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 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
        0
        • M Mark81

          @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 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

          • Login

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