Pizzapower's OpenMSX debugger improvements

ページ 1/3
| 2 | 3

By pizzapower

Master (172)

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

ログイン/登録して投稿

By aoineko

Paragon (1144)

aoineko さんの画像

19-04-2023, 00:20

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

By pizzapower

Master (172)

pizzapower さんの画像

19-04-2023, 05:32

You can download it here.

By santiontanon

Paragon (1833)

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.

By mcolom

Champion (322)

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

By max_iwamoto

Paladin (677)

max_iwamoto さんの画像

19-04-2023, 20:16

I tested new version on Windows and it works great!

By pizzapower

Master (172)

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.

By max_iwamoto

Paladin (677)

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?

By Wlcracks

Hero (572)

Wlcracks さんの画像

20-04-2023, 07:32

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

By pizzapower

Master (172)

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.

By max_iwamoto

Paladin (677)

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!

ページ 1/3
| 2 | 3