Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Debugging two processes with Qt Creator?

Debugging two processes with Qt Creator?

Scheduled Pinned Locked Moved Unsolved General and Desktop
17 Posts 4 Posters 1.7k Views 2 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    I'm working on my iMAC with Qt Creator. I have a process that I'm debugging, I have another process that I also want to debug at the same time.

    Is it possible to launch another instance of Qt Creator so I can debug both processes at the same time?

    Kind Regards,
    Sy

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @SPlatten said in Debugging two processes with Qt Creator?:

      Is it possible to launch another instance of Qt Creator so I can debug both processes at the same time?

      Why not simply try it out?

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      SPlattenS 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        @SPlatten said in Debugging two processes with Qt Creator?:

        Is it possible to launch another instance of Qt Creator so I can debug both processes at the same time?

        Why not simply try it out?

        SPlattenS Offline
        SPlattenS Offline
        SPlatten
        wrote on last edited by
        #3

        @Christian-Ehrlicher , I have and thats why I'm debugging it, because it doesn't currently work.

        Kind Regards,
        Sy

        Christian EhrlicherC 1 Reply Last reply
        0
        • SPlattenS SPlatten

          @Christian-Ehrlicher , I have and thats why I'm debugging it, because it doesn't currently work.

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @SPlatten said in Debugging two processes with Qt Creator?:

          because it doesn't currently work.

          This is no real problem description.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          SPlattenS 1 Reply Last reply
          -1
          • Christian EhrlicherC Christian Ehrlicher

            @SPlatten said in Debugging two processes with Qt Creator?:

            because it doesn't currently work.

            This is no real problem description.

            SPlattenS Offline
            SPlattenS Offline
            SPlatten
            wrote on last edited by SPlatten
            #5

            @Christian-Ehrlicher , there is no description because I don't know why it doesn't work, if I new what it doesn't work obviously I could fix it, this is why I want to debug it so I can investigate further.

            Kind Regards,
            Sy

            1 Reply Last reply
            -1
            • Christian EhrlicherC Offline
              Christian EhrlicherC Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Sorry I don't understand your problem - "It does not work" does not help. What exactly does not work? Can't you start two instances of QtCreator? Can't you start the second debugging session in the second QtCreator?

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              SPlattenS 1 Reply Last reply
              0
              • Christian EhrlicherC Christian Ehrlicher

                Sorry I don't understand your problem - "It does not work" does not help. What exactly does not work? Can't you start two instances of QtCreator? Can't you start the second debugging session in the second QtCreator?

                SPlattenS Offline
                SPlattenS Offline
                SPlatten
                wrote on last edited by
                #7

                @Christian-Ehrlicher , where exactly did I use your quote "It does not work" ?

                I said I want to debug two processes using Qt Creator, I want to launch two separate instances of Qt Creator, the first debugging one process and the second debugging another. I then want to debug the interaction between both processes.

                The problem I have is that I do not know how to start two instances of Qt Creator, how much clearer can I be?

                Kind Regards,
                Sy

                1 Reply Last reply
                0
                • Christian EhrlicherC Offline
                  Christian EhrlicherC Offline
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @SPlatten said in Debugging two processes with Qt Creator?:

                  The problem I have is that I do not know how to start two instances of Qt Creator

                  You never said this before...
                  Don't know why you can't start two instances on MacOS. It works fine on Windows and Linux.

                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                  Visit the Qt Academy at https://academy.qt.io/catalog

                  SPlattenS 1 Reply Last reply
                  1
                  • Christian EhrlicherC Christian Ehrlicher

                    @SPlatten said in Debugging two processes with Qt Creator?:

                    The problem I have is that I do not know how to start two instances of Qt Creator

                    You never said this before...
                    Don't know why you can't start two instances on MacOS. It works fine on Windows and Linux.

                    SPlattenS Offline
                    SPlattenS Offline
                    SPlatten
                    wrote on last edited by
                    #9

                    @Christian-Ehrlicher , in my original post I said "Is it possible to launch another instance of Qt Creator", another meaning in addition to the first instance...

                    Kind Regards,
                    Sy

                    Christian EhrlicherC JonBJ 2 Replies Last reply
                    0
                    • SPlattenS SPlatten

                      @Christian-Ehrlicher , in my original post I said "Is it possible to launch another instance of Qt Creator", another meaning in addition to the first instance...

                      Christian EhrlicherC Offline
                      Christian EhrlicherC Offline
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @SPlatten No, there you ask if it is possible, not that it does not work for you - these are two different things.

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      SPlattenS 1 Reply Last reply
                      0
                      • Christian EhrlicherC Christian Ehrlicher

                        @SPlatten No, there you ask if it is possible, not that it does not work for you - these are two different things.

                        SPlattenS Offline
                        SPlattenS Offline
                        SPlatten
                        wrote on last edited by
                        #11

                        @Christian-Ehrlicher, again, isn't it obvious that before coming on here and posting the question I would have tried it?

                        Kind Regards,
                        Sy

                        Christian EhrlicherC 1 Reply Last reply
                        0
                        • SPlattenS SPlatten

                          @Christian-Ehrlicher , in my original post I said "Is it possible to launch another instance of Qt Creator", another meaning in addition to the first instance...

                          JonBJ Offline
                          JonBJ Offline
                          JonB
                          wrote on last edited by JonB
                          #12

                          @SPlatten
                          I know nothing about Mac. But I assume you launch these Creators by clicking on an icon? And maybe that is what checks for/prevents multiple separate occurrences? Assuming it's like Linux, can you open a shell and type in the command-line to run Creator from there? In which case, does that allow multiple instances?

                          SPlattenS 1 Reply Last reply
                          2
                          • SPlattenS SPlatten

                            @Christian-Ehrlicher, again, isn't it obvious that before coming on here and posting the question I would have tried it?

                            Christian EhrlicherC Offline
                            Christian EhrlicherC Offline
                            Christian Ehrlicher
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            @SPlatten said in Debugging two processes with Qt Creator?:

                            I would have tried it?

                            No.

                            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                            Visit the Qt Academy at https://academy.qt.io/catalog

                            1 Reply Last reply
                            0
                            • JonBJ JonB

                              @SPlatten
                              I know nothing about Mac. But I assume you launch these Creators by clicking on an icon? And maybe that is what checks for/prevents multiple separate occurrences? Assuming it's like Linux, can you open a shell and type in the command-line to run Creator from there? In which case, does that allow multiple instances?

                              SPlattenS Offline
                              SPlattenS Offline
                              SPlatten
                              wrote on last edited by
                              #14

                              @JonB , whats the command to launch Qt Creator from a terminal ? On Windows I can just right click the icon and get the info from there, on a Mac it's not so simple.

                              Kind Regards,
                              Sy

                              K JonBJ 2 Replies Last reply
                              0
                              • SPlattenS SPlatten

                                @JonB , whats the command to launch Qt Creator from a terminal ? On Windows I can just right click the icon and get the info from there, on a Mac it's not so simple.

                                K Offline
                                K Offline
                                koahnig
                                wrote on last edited by
                                #15

                                @SPlatten

                                On windows I can start qt creator by calling <proper path>/qtcreator from command prompt. Do not know on mac

                                Vote the answer(s) that helped you to solve your issue(s)

                                1 Reply Last reply
                                0
                                • SPlattenS Offline
                                  SPlattenS Offline
                                  SPlatten
                                  wrote on last edited by SPlatten
                                  #16

                                  @JonB , @Christian-Ehrlicher, @koahnig

                                  Ok, I opened the contents of the folder "Qt Creator.app" then went to Contents/MacOS and launched "Qt Creator", now I have two instances of Qt Creator open I will see if I can debug two applications simultaneously.

                                  Kind Regards,
                                  Sy

                                  1 Reply Last reply
                                  0
                                  • SPlattenS SPlatten

                                    @JonB , whats the command to launch Qt Creator from a terminal ? On Windows I can just right click the icon and get the info from there, on a Mac it's not so simple.

                                    JonBJ Offline
                                    JonBJ Offline
                                    JonB
                                    wrote on last edited by JonB
                                    #17

                                    @SPlatten said in Debugging two processes with Qt Creator?:

                                    on a Mac it's not so simple

                                    Well that's the $64K question! Can't you find where an executable qtcreator is on your disk (Mac Finder?) and type in the full path to that? I would have thought it would be worthwhile to discover where exactly all the Qt stuff is installed on your disk once & for all, you might want to look inside header files etc.

                                    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