Pizzapower's OpenMSX debugger improvements

Pagina 1/3
| 2 | 3

Door pizzapower

Master (172)

afbeelding van 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

Aangemeld of registreer om reacties te plaatsen

Van aoineko

Paragon (1144)

afbeelding van aoineko

19-04-2023, 00:20

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

Van pizzapower

Master (172)

afbeelding van pizzapower

19-04-2023, 05:32

You can download it here.

Van santiontanon

Paragon (1832)

afbeelding van 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.

Van mcolom

Champion (322)

afbeelding van 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!!

Van max_iwamoto

Paladin (675)

afbeelding van max_iwamoto

19-04-2023, 20:16

I tested new version on Windows and it works great!

Van pizzapower

Master (172)

afbeelding van 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.

Van max_iwamoto

Paladin (675)

afbeelding van 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?

Van Wlcracks

Hero (572)

afbeelding van Wlcracks

20-04-2023, 07:32

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

Van pizzapower

Master (172)

afbeelding van 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.

Van max_iwamoto

Paladin (675)

afbeelding van 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!

Pagina 1/3
| 2 | 3