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. Settings file for "Attach to remote debug server" dialog?
Forum Updated to NodeBB v4.3 + New Features

Settings file for "Attach to remote debug server" dialog?

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 1.6k 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.
  • I Offline
    I Offline
    iforce2d
    wrote on last edited by
    #1

    What file are the settings for the "Attach to remote debug server" dialog stored in?

    I was using that for many months to debug an Android project (cocos2d-x, not Qt Android) and it took me f#%$ forever to figure out the exact settings to get it working. After not using the project for a while, today I found that all the settings I had in that dialog are gone. I checked through all the files that might be relevant (xxx.creator.user.* etc) but there is no trace of any of the settings I had. I also checked back through my source control history and backups, and it seems like the settings were never written to any of the files I have..... were they?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Might be you opened the project that is already opened in another machine. Delete the .pro.user file from your source history and configure the debug/ release path.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        iforce2d
        wrote on last edited by
        #3

        The project does not have a .pro file, I created it via "Import existing project", and set up the build steps (android update, ndk-build, ant etc) myself. It has a .creator.user file instead.

        I don't think the debug/release path is relevant because I'm debugging the app running on the device, so I start the app, then start the debug server (ndk-gdb), then I use "Attach to remote debug server".

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Yes i understood this, let me check this scenario and will come back to you.

          1 Reply Last reply
          0
          • I Offline
            I Offline
            iforce2d
            wrote on last edited by
            #5

            Well I finally figured it out. The settings are stored in (on Linux):
            ~/.config/QtProject/QtCreator.ini

            So the settings to start a debug session are not related to any specific project in the first place. While I can kinda understand this, (because it is not strictly necessary to have a project open to start debugging), I don't think it's very convenient.

            For example, I now have multiple projects which I'm switching between, and to start debugging I need to reconfigure the settings for the "Attach to remote debug server" dialog every time. It would be much more convenient if the settings in that dialog could be kept as project settings.

            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