Page 1 of 1

Open source debugger for KolibriOS with build fasm assembler

Posted: Sun Aug 01, 2021 10:36 am
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.

Re: Open source debugger for KolibriOS with build fasm assembler

Posted: Sun Aug 01, 2021 12:12 pm
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.

Re: Open source debugger for KolibriOS with build fasm assembler

Posted: Sun Aug 01, 2021 10:32 pm
by IgorA
A very good program.
Is it possible to save the disassembled listing to a file?

Re: Open source debugger for KolibriOS with build fasm assembler

Posted: Mon Aug 02, 2021 12:56 pm
by CandyMan
I added the ability to take a screenshot to the file "/tmp0/1/dump0000.txt" after pressing the [Menu] key.

Re: Open source debugger for KolibriOS with build fasm assembler

Posted: Mon Aug 02, 2021 2:11 pm
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? :)

Re: Open source debugger for KolibriOS with build fasm assembler

Posted: Tue Aug 03, 2021 7:27 pm
by IgorA
Nice program, you can add it to svn. You just need an account to connect to svn.

Re: Open source debugger for KolibriOS with build fasm assembler

Posted: Wed Sep 29, 2021 11:21 pm
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.

Re: Open source debugger for KolibriOS with build fasm assembler

Posted: Wed Dec 08, 2021 9:44 pm
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 !

Re: Open source debugger for KolibriOS with build fasm assembler

Posted: Sun Feb 26, 2023 2:10 pm
by CandyMan
Small change. I added switching between gray and default palette after pressing F12 key (after loading program/"victim").

Re: Open source debugger for KolibriOS with build fasm assembler

Posted: Mon May 01, 2023 4:18 pm
by qullarwee
Bug: command line is not redrawn when arrows are pressed.