Open source debugger for KolibriOS with build fasm assembler

...
Post Reply
CandyMan
Posts: 11
Joined: Sun Aug 01, 2021 10:04 am

Open source debugger for KolibriOS with build fasm assembler

Post by CandyMan »

This debugger is based on MTDBG and KFAR programs.

With the Tab key you go to one of 4 windows. After pressing the letter you will automatically go to the edit field at the bottom of the screen.
You can enter a command here. All commands of the MTDBG program work.
Additionally, with the "a" command (eg a mov eax, 1234h) you can change the program code at the current cursor position.
With the command "j" you go to the address indicated in the current window.
Try my debugger.
Thanks.
Attachments
KOLDBG.7Z
Binaries and source code
(251.75 KiB) Downloaded 8 times
Last edited by CandyMan on Sun Feb 26, 2023 2:03 pm, edited 2 times in total.
User avatar
Leency
Designer
Posts: 5733
Joined: Thu Jan 25, 2007 3:33 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Open source debugger for KolibriOS with build fasm assembler

Post by Leency »

Wow, that looks really great!

What I saw,
Each time a key is pressed the window title is redraw. Title redraw is a slow operation so it is better to use it only when the window header has changed.
Sapiens dominabitur astris
User avatar
IgorA
Posts: 939
Joined: Mon Oct 27, 2008 10:10 pm

Re: Open source debugger for KolibriOS with build fasm assembler

Post by IgorA »

A very good program.
Is it possible to save the disassembled listing to a file?
CandyMan
Posts: 11
Joined: Sun Aug 01, 2021 10:04 am

Re: Open source debugger for KolibriOS with build fasm assembler

Post by CandyMan »

I added the ability to take a screenshot to the file "/tmp0/1/dump0000.txt" after pressing the [Menu] key.
User avatar
Leency
Designer
Posts: 5733
Joined: Thu Jan 25, 2007 3:33 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Open source debugger for KolibriOS with build fasm assembler

Post by Leency »

CandyMan
You came with two great apps and we don't know anything about you :)
Could you please introduce yourself? Where are you from, where did you know about Kolibri, what languages you prefer to use in coding, etc? :)
Sapiens dominabitur astris
User avatar
IgorA
Posts: 939
Joined: Mon Oct 27, 2008 10:10 pm

Re: Open source debugger for KolibriOS with build fasm assembler

Post by IgorA »

Nice program, you can add it to svn. You just need an account to connect to svn.
Jurgen
Posts: 12
Joined: Sun Jul 18, 2021 9:00 am
Been thanked: 1 time

Re: Open source debugger for KolibriOS with build fasm assembler

Post by Jurgen »

CandyMan
You have a good idea. Please, add the option to change the background color and the font color to the command line.

For example:
color (window name) (background/font) 'color code'

I want to use your debugger but it's very bad for my eyes.
macgub
Posts: 119
Joined: Tue Feb 05, 2008 11:06 am

Re: Open source debugger for KolibriOS with build fasm assembler

Post by macgub »

I think whole Kolibri community wait for such tool for a long time. Personally I tried modify MTDBG some time ago to extend it support for ex. SEE instructions. But I have no competence to do this, and perhaps no stubborn to learn skills I need... As I saw in symbols file you provide even avx 512 mnemonics.. fun! From my point of view maybye more XMM (and not only) registers views wil be nice to see (integer word, dword float, double), but OK I enjoy current state. Thanks for you effort !
CandyMan
Posts: 11
Joined: Sun Aug 01, 2021 10:04 am

Re: Open source debugger for KolibriOS with build fasm assembler

Post by CandyMan »

Small change. I added switching between gray and default palette after pressing F12 key (after loading program/"victim").
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests