GUI for bochs debugger

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Locked
WindowsNT
Member
Member
Posts: 77
Joined: Thu Jun 26, 2008 12:55 pm

GUI for bochs debugger

Post by WindowsNT »

I 'm successfully creating a gui for bochs' debugger for Windows...

* Real/Protected/Long mode
* Registers/Segments/Control Registers
* Dissassembly Window
* VS Shortcuts for step,run etc
* Breakpoint list
* GDT entries
* Data dump

and more to come.

Image

I 've decided to release a test version of it so you can see it working and submit me bugs and feature requests.
Note, do expect for it to have some bugs (for example, dump is not automatically updated), which would be resolved with your feedback. When the project is completed, I will release the source.

http://www.turboirc.com/tools/bochs.exe

Make sure that the bochs option to load the gui is enabled
display_library: win32, options="windebug"


This version has the 'auto update' feature from menu help, so when I update it, you simply check that menu item and it automatically downloads the update.

Try it and tell me what you think.Any Suggestions/Requests , discuss it :)

Best Regards.
Last edited by WindowsNT on Sat Jul 19, 2008 7:14 am, edited 5 times in total.
User avatar
Zenith
Member
Member
Posts: 224
Joined: Tue Apr 10, 2007 4:42 pm

Re: GUI for bochs debugger

Post by Zenith »

That looks amazing :) - I've often wished the Bochs/QEMU debuggers were more user-friendly.

Now, for the questions:
- Is this a separate application or do you have to compile it into Bochs?
- If so, is this a native app or is it .NET? Can it be made cross-platform?
- When will you release the first version?

Nice site by the way (I'm assuming it's yours). It's a little too happy for me, but too many exclamation marks can start to annoy people :twisted: . Also, the frame on the left doesn't seem to overflow properly when you expand the different items (but that's just me nitpicking).

Did you actually develop all those programs, because they look pretty cool :).

Good luck!
"Sufficiently advanced stupidity is indistinguishable from malice."
User avatar
thepowersgang
Member
Member
Posts: 734
Joined: Tue Dec 25, 2007 6:03 am
Libera.chat IRC: thePowersGang
Location: Perth, Western Australia
Contact:

Re: GUI for bochs debugger

Post by thepowersgang »

How complete is it?
and is there any chance to release it for testing
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: GUI for bochs debugger

Post by AJ »

Very nice. I want one :)
User avatar
kmtdk
Member
Member
Posts: 263
Joined: Sat May 17, 2008 4:05 am
Location: Cyperspace, Denmark
Contact:

Re: GUI for bochs debugger

Post by kmtdk »

I agree with Zenith, and AJ.
Fist it is just what bochs needs,
secound: will it become public ?
; you can maby speak to the "Bochs" dev team, and maby they could include it in Bochs.


Kmt dk
well, what to say, to much to do in too little space.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
WindowsNT
Member
Member
Posts: 77
Joined: Thu Jun 26, 2008 12:55 pm

Re: GUI for bochs debugger

Post by WindowsNT »

I tried talking to the developer's forum and they don't seem that much interested. Anyway, yes it will be public when it is almost complete - it needs a recompilation, so I guess I will put the entire executable online when the thing is finished.It is a native Win32 dialog, nothing more, nothing less.

For testing, yes I will post a link here later on so you can test it. I have yet to finish what I originally have in mind and then release the source code so you can easily edit it as well.
User avatar
kmtdk
Member
Member
Posts: 263
Joined: Sat May 17, 2008 4:05 am
Location: Cyperspace, Denmark
Contact:

Re: GUI for bochs debugger

Post by kmtdk »

sounds good.
I would like to test/ use it-
Why did'nt they (bochs dev team) sound intressted ?, it is a GOod ideer. and you have done the most of their job.

Kmt dk
well, what to say, to much to do in too little space.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
WindowsNT
Member
Member
Posts: 77
Joined: Thu Jun 26, 2008 12:55 pm

Re: GUI for bochs debugger

Post by WindowsNT »

New screenshot with data dump and breakpoints

http://www.turboirc.com/asm/b3.jpg
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: GUI for bochs debugger

Post by AJ »

=P~
User avatar
kmtdk
Member
Member
Posts: 263
Joined: Sat May 17, 2008 4:05 am
Location: Cyperspace, Denmark
Contact:

Re: GUI for bochs debugger

Post by kmtdk »

cool..

well, how have you maded the "interface", just added a gui, or ?

KMT dk
well, what to say, to much to do in too little space.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
User avatar
raistlinthewiz
Member
Member
Posts: 34
Joined: Wed Jun 29, 2005 11:00 pm
Contact:

Re: GUI for bochs debugger

Post by raistlinthewiz »

WindowsNT wrote:I 'm successfully creating a gui for bochs' debugger for Windows...

* Real/Protected/Long mode
* Registers/Segments/Control Registers
* Dissassembly Window
* VS Shortcuts for step,run etc
* Breakpoint list
* GDT entries
* Data dump

and more to come.

http://www.turboirc.com/asm/b1.jpg
http://www.turboirc.com/asm/b2.jpg

Any Suggestions/Requests , discuss it :)
nice work keep it up m8, waiting to use it.
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Re: GUI for bochs debugger

Post by jal »

what would really be my wet dream though, would be an intergration of the bochs debugger into KDEveloper :).


JAL
User avatar
lukem95
Member
Member
Posts: 536
Joined: Fri Aug 03, 2007 6:03 am
Location: Cambridge, UK

Re: GUI for bochs debugger

Post by lukem95 »

good work, it looks really useful :)

the current bochs UI for the debugger leaves a lot to be desired, and i'm sure this will be very useful. are you going to release the source? it wouldnt be too hard to port to X/GTK+.
~ Lukem95 [ Cake ]
Release: 0.08b
Image
WindowsNT
Member
Member
Posts: 77
Joined: Thu Jun 26, 2008 12:55 pm

Re: GUI for bochs debugger

Post by WindowsNT »

I will release the source, but I don't think it will be too easy to port a native Win32 piece of code to gtk....
User avatar
raistlinthewiz
Member
Member
Posts: 34
Joined: Wed Jun 29, 2005 11:00 pm
Contact:

Re: GUI for bochs debugger

Post by raistlinthewiz »

WindowsNT wrote:I will release the source, but I don't think it will be too easy to port a native Win32 piece of code to gtk....
hm u'll release the sources. it'll be nice. i'll take a look and try to contribute then
Locked