www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.debugger - Ddbg-0.0.3 and Zeus Editor

reply Jussi Jumppanen <jussij zeusedit.com> writes:
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
Mar 06 2007
next sibling parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
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
Mar 06 2007
parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
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
Mar 06 2007
parent Jussi Jumppanen <jussij zeusedit.com> writes:
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
Mar 06 2007
prev sibling parent reply Jascha Wetzel <"[firstname]" mainia.de> writes:
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
 
Mar 07 2007
parent Jussi Jumppanen <jussij zeusedit.com> writes:
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
Mar 07 2007