IX Remote Debugger, 16/03/2010
Posted: Tue Mar 16, 2010 5:45 pm
IX Remote Debugger, 16/03/2010
This is an auto debugging server launcher and bridge program that helps you do less work for debugging your OS.
I have recently developed this for my OS project and wanted to share this simple program so that others do not have to write it again. It is written in C# (the attachment file includes the source code) and can be run under both Windows and UNIX family operating systems.
< How to use it? (this is my configuration.) / Example >
Let's say that I have an IDE that uses the GDB for debugging and the QEmu for the emulation of my OS. Since the QEmu supports the remote debugging feature through the GDB remote debug protocol, I can use my IDE to debug my OS code.
The problem starts here. Whenever you want to debug your OS, you need to launch your QEmu. Well, you can do that countless times if you want, but it surely is inconvenient (especially when your QEmu is running from another computer.).
This program solves that problem. Basically, you connect your GDB to the IX Remote Debugger. As soon as the GDB connects, IXRD launches the QEmu, connects to the QEmu debugging server, and works a bridge server. When you are done with the debugging session (if the GDB disconnects), the QEmu process is also automatically terminated and the IXRD waits for a new connection again.
This is an auto debugging server launcher and bridge program that helps you do less work for debugging your OS.
I have recently developed this for my OS project and wanted to share this simple program so that others do not have to write it again. It is written in C# (the attachment file includes the source code) and can be run under both Windows and UNIX family operating systems.
< How to use it? (this is my configuration.) / Example >
Let's say that I have an IDE that uses the GDB for debugging and the QEmu for the emulation of my OS. Since the QEmu supports the remote debugging feature through the GDB remote debug protocol, I can use my IDE to debug my OS code.
The problem starts here. Whenever you want to debug your OS, you need to launch your QEmu. Well, you can do that countless times if you want, but it surely is inconvenient (especially when your QEmu is running from another computer.).
This program solves that problem. Basically, you connect your GDB to the IX Remote Debugger. As soon as the GDB connects, IXRD launches the QEmu, connects to the QEmu debugging server, and works a bridge server. When you are done with the debugging session (if the GDB disconnects), the QEmu process is also automatically terminated and the IXRD waits for a new connection again.