2009年10月21日星期三

Squirrel remote debugger

以下是完成了大約三分之一的 Squirrel 遠程除錯器。當中的製作過程比想像中簡單,皆因 Squirrel 已有一個除錯伺服器的實作 sqdbg,而我需要做的只是客戶端與 Gui。

Sqdbg 的編程界面僅有四個函數,使用 Xml 來進行客戶端溝通。如今加減中斷點,下一行,跳出跳入和暫停繼續等等已經完成,接下來還有堆疊,變量監視等工夫。

除了結合自家的遊戲引擎,它也會獨立出來貢獻給 Squirrel 社群。

SqdbgClient

2 則留言:

  1. That's quite a lot of work! But I'm not sure why you need a remote debugger if you're just writing a 3D engine for your own use..?

    回覆刪除
  2. Actually the debugger Gui client has only around 600 lines of code, thanks to the various libraries for instance "Dock Panel Suite", "ScintillaNet" and the simplicity of Squirrel and .Net!
    There are reasons that I want a debugger:
    1) I am making a game engine, not 3d engine only.
    2) This engine is open sourced, and the company that I currently working on is going to utilize part of it in some cases.
    3) I expected that the game play programmer will write most of the game code in scripting language, and then will need a debugger.
    4) A customized debugger is needed because it gives better integration with the tools, for example it breaks only in game's code but not in engine's code, I have the choice.

    I'd like to have fun with graphics, but currently too many game play and tool related tasks flooding me.

    回覆刪除