Making a custom-made debugger compatible with QtCreator
-
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
-
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
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 anygdb
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
-
Thank you.