Pizzapower's OpenMSX debugger improvements

Página 1/3
| 2 | 3

Por pizzapower

Master (172)

imagem de pizzapower

18-04-2023, 21:59

Reporting the latest news in debugger improvements. Bug reports and feature requests are welcome! Specially in the issues section of the github page.

This week I have written code to automatically replace address with symbolic names in the Breakpoint viewer widget whenever they are available. No more meaningless or hard-to-follow breakpoint addresses while you are debugging your code if you have the sym, noice, map or omd files to keep your sanity. :D

Entrar ou registrar-se para comentar

Por aoineko

Paragon (1132)

imagem de aoineko

19-04-2023, 00:20

Sounds good.
I didn't found binaries for Windows so I'll test another time.

Por pizzapower

Master (172)

imagem de pizzapower

19-04-2023, 05:32

You can download it here.

Por santiontanon

Paragon (1830)

imagem de santiontanon

19-04-2023, 16:58

Very cool pizzapower! I have a very old binary of the debugger, but I am quite curious about all of these improvements. So, I'll give the new version a try this week.

Por mcolom

Champion (320)

imagem de mcolom

19-04-2023, 17:25

Thanks for all these improvements, pizzapower!
I have observed a weird behavior, which even happens after compiling the last versions in github of both openmsx and the debugger.
The way to reproduce it is as follows:
1) Run an instance of openmsx: openmsx -machine Sony_HB-20P
2) Run and attach the debugger
3) With the openmsx's console, add a BP with: debug set_bp 0xd7f
4) Show the "Debug list:" window on the debugger.
5) Now leave F8 pressed on the debugger to run several lines.

If I do so, I can see that more breakpoints are added automatically (!) in both the Debug list window and in the code disassembly. For example, it adds also 0xd85, 0x10DC, 0xD82 after a while if I leave F8 pressed.
Sometimes empty lines are also added to the "Conditions" tab.

I'm using Debian Testing 12.

Edit: I've just checked with the binary you've posted before, and this problem does not happen! Nice!!

Por max_iwamoto

Paladin (673)

imagem de max_iwamoto

19-04-2023, 20:16

I tested new version on Windows and it works great!

Por pizzapower

Master (172)

imagem de pizzapower

19-04-2023, 21:54

Small improvement of the day: the debugger reloads breakpoints in the debug list widget when a symbol file changes is detected. Already merged and available on that same link above.

Por max_iwamoto

Paladin (673)

imagem de max_iwamoto

20-04-2023, 04:27

pizzapower wrote:

Small improvement of the day: the debugger reloads breakpoints in the debug list widget when a symbol file changes is detected. Already merged and available on that same link above.

Is it possible to add a sym file after assembling asm file to the debugger?

Por Wlcracks

Hero (572)

imagem de Wlcracks

20-04-2023, 07:32

I am gonna use this at some point asap. Thank you very much!

Por pizzapower

Master (172)

imagem de pizzapower

20-04-2023, 14:57

max_iwamoto wrote:

Is it possible to add a sym file after assembling asm file to the debugger?

Yes, you select System menu > Symbol Manager... and click on the Add button to select the symbol file generated from assembling the binary.

Por max_iwamoto

Paladin (673)

imagem de max_iwamoto

20-04-2023, 16:16

pizzapower wrote:
max_iwamoto wrote:

Is it possible to add a sym file after assembling asm file to the debugger?

Yes, you select System menu > Symbol Manager... and click on the Add button to select the symbol file generated from assembling the binary.

Thanks. Works really well. Lots of improvements!

Página 1/3
| 2 | 3