Thread overview
Ddbg-0.0.3 and Zeus Editor
Mar 06, 2007
Jussi Jumppanen
Mar 07, 2007
Bill Baxter
Mar 07, 2007
Bill Baxter
Mar 07, 2007
Jussi Jumppanen
Mar 07, 2007
Jascha Wetzel
Mar 08, 2007
Jussi Jumppanen
March 06, 2007
Hi to all,

I am the author of the Zeus for Windows editor.

I recently came across the ddbg debugger, so out of curiosity I tested it against the Zeus gdb debugger interface.

To my surprise I found it almost worked ;)

So I have spent some time getting Zeus to work with ddbg debugger.

Here is a link that describes the changes made:

http://www.zeusedit.com/forum/viewtopic.php?t=1070

Here is a screenshot of the ddbg debugger running inside of Zeus:

http://www.zeusedit.com/look_ddbg.png

But anyone interested in trying it out should note this is still alpha/beta quality code so use it with care and don't expect too much ;)

Also note Zeus is shareware.

Cheers Jussi Jumppanen
Author: Zeus for Windows

March 07, 2007
Jussi Jumppanen wrote:
> Hi to all,
> 
> I am the author of the Zeus for Windows editor.
> 
> I recently came across the ddbg debugger, so out of curiosity I tested it against the Zeus gdb debugger interface.
> 
> To my surprise I found it almost worked ;)
> 
> So I have spent some time getting Zeus to work with ddbg debugger.
> 
> Here is a link that describes the changes made:
> 
> http://www.zeusedit.com/forum/viewtopic.php?t=1070
> 
> Here is a screenshot of the ddbg debugger running inside of Zeus:
> 
> http://www.zeusedit.com/look_ddbg.png
> 
> But anyone interested in trying it out should note this is still alpha/beta quality code so use it with care and don't expect too much ;)
> 
> Also note Zeus is shareware.
> 
> Cheers Jussi Jumppanen
> Author: Zeus for Windows

Cool.  Do you also support the GDB/MI interface, or do you plan to in the near future?

--bb
March 07, 2007
Bill Baxter wrote:
> Jussi Jumppanen wrote:
>> Hi to all,
>>
>> I am the author of the Zeus for Windows editor.
>>
>> I recently came across the ddbg debugger, so out of curiosity I tested it against the Zeus gdb debugger interface.
>>
>> To my surprise I found it almost worked ;)
>>
>> So I have spent some time getting Zeus to work with ddbg debugger.
>>
>> Here is a link that describes the changes made:
>>
>> http://www.zeusedit.com/forum/viewtopic.php?t=1070
>>
>> Here is a screenshot of the ddbg debugger running inside of Zeus:
>>
>> http://www.zeusedit.com/look_ddbg.png
>>
>> But anyone interested in trying it out should note this is still alpha/beta quality code so use it with care and don't expect too much ;)
>>
>> Also note Zeus is shareware.
>>
>> Cheers Jussi Jumppanen
>> Author: Zeus for Windows
> 

Wait, were you aware that if you rename ddbg.exe to ddbg_gdb.exe that it will emulate gdb behavior?  From your screenshot it looks like you are running it as plain "ddbg.exe".  It might work even better than you thought if you use ddbg's gdb compatibility.

--bb
March 07, 2007
Bill Baxter Wrote:

> Cool.  Do you also support the GDB/MI interface, or do you plan to in the near future?

The Zeus gdb debugger interface was added around about 2002 so it is showing it's age ;)

The current plan is to first see if the current debugger support can be improved (i.e. made more user friendly) and once this is done I see no reason why support for GDB/MI can not be also added.

> Wait, were you aware that if you rename ddbg.exe to ddbg_gdb.exe that it will emulate gdb behavior?

No. I did not know this.

> From your screenshot it looks like you are running it as plain "ddbg.exe".

In any case, because of the way the Zeus debugger interface in designed this doesn't matter greatly.

In a nut shell each debugger DLL is nothing more than a mapping of Zeus debug actions to a debugger commands.

For example here is the list of Zeus debugger actions and how they are mapped to for the ddbg debugger:

   Action       ddbg Command
   =========================
   RUN          r
   CONTINUE     r
   STEP         in
   NEXT         ov
   UNTIL        out
   KILL         q
   UP           ii
   DOWN         dr

   ARGS         us
   STACK        ds
   PRINT        =
   PRINTEX      ii
   LOCALS       lsv
   HELP         ?

   BREAKSET     bp
   BREAKCLR     dbp
   BREAKALL     dbp *
   BREAKINFO    lbp

These are the defaults, but all these actions can also be re-configured by the user.

Cheers Jussi

March 07, 2007
nice :)

Jussi Jumppanen wrote:
> Hi to all,
> 
> I am the author of the Zeus for Windows editor.
> 
> I recently came across the ddbg debugger, so out of curiosity I tested it against the Zeus gdb debugger interface.
> 
> To my surprise I found it almost worked ;)
> 
> So I have spent some time getting Zeus to work with ddbg debugger.
> 
> Here is a link that describes the changes made:
> 
> http://www.zeusedit.com/forum/viewtopic.php?t=1070
> 
> Here is a screenshot of the ddbg debugger running inside of Zeus:
> 
> http://www.zeusedit.com/look_ddbg.png
> 
> But anyone interested in trying it out should note this is still alpha/beta quality code so use it with care and don't expect too much ;)
> 
> Also note Zeus is shareware.
> 
> Cheers Jussi Jumppanen
> Author: Zeus for Windows
> 
March 08, 2007
Jascha Wetzel <[firstname]@mainia.de> Wrote:

> nice :)

Thanks Jascha.

If you find any bugs or have any suggestion please post a message to this forum or the Zeus forum.

I have been doing a little a bit of testing myself and have already found a bug.

What I found was the debug commands are not being immediately flushed to the debugger which means the Zeus debugger output window can sometimes get out of synch :(

Cheers Jussi