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. Making a custom-made debugger compatible with QtCreator
Forum Update on Monday, May 27th 2025

Making a custom-made debugger compatible with QtCreator

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 276 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.
  • P Offline
    P Offline
    Pierre Fichepoil
    wrote on 3 Dec 2019, 09:39 last edited by Pierre Fichepoil 12 Mar 2019, 11:32
    #1

    Hello,

    I made my own debugger in Lua to debug Lua code.

    You're supposed to connect to it using a TCP Socket.

    I do plan to make a plugin for it, is there any sample debugger plugin, not too complicated to use ?

    I'm pretty new to C++ and Qt

    Edit : I already took a look at the LLDB/CDB debugger but it's a mess to edit it since it relies on QtCreator source code projects and some headers are generated on the fly during the build, so it's a mess to work with it.

    My Qt Creator version is 4.9 and my Qt version is 5.12.4

    A 1 Reply Last reply 3 Dec 2019, 15:17
    0
    • P Pierre Fichepoil
      3 Dec 2019, 09:39

      Hello,

      I made my own debugger in Lua to debug Lua code.

      You're supposed to connect to it using a TCP Socket.

      I do plan to make a plugin for it, is there any sample debugger plugin, not too complicated to use ?

      I'm pretty new to C++ and Qt

      Edit : I already took a look at the LLDB/CDB debugger but it's a mess to edit it since it relies on QtCreator source code projects and some headers are generated on the fly during the build, so it's a mess to work with it.

      My Qt Creator version is 4.9 and my Qt version is 5.12.4

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 3 Dec 2019, 15:17 last edited by
      #2

      Hi @Pierre-Fichepoil,

      I think the most elegant solution would be to implement the gdbserver protocol.

      That way, your debugger can be remote controlled by gdb, and in turn by any gdb frontend.

      If that is not possible, I suggest to ask at the Qt Creator mailing list, where the developers can answer. This forum is more user orientated.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      2
      • P Offline
        P Offline
        Pierre Fichepoil
        wrote on 3 Dec 2019, 15:27 last edited by
        #3

        Thank you.

        1 Reply Last reply
        1

        3/3

        3 Dec 2019, 15:27

        • Login

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