C-debugger for MSX?

By Bengalack

Expert (118)

Аватар пользователя Bengalack

28-03-2020, 10:27

Pardon my ignorance, but does there exist a decent debugger we can use when doing C-programming? In practise, when also using openmsx (as this is my default dev-platform)?

Currently using openmsx and its debugger. These two products are great, but debugging C-code from an assembly-type debugger is not like a c-debugger Smile

Для того, чтобы оставить комментарий, необходимо регистрация или !login

By Manuel

Ascended (16371)

Аватар пользователя Manuel

28-03-2020, 15:42

Erik Maas is/was working on something like that: https://bitbucket.org/erik_maas/openmsxgdb/src/master/

By Bengalack

Expert (118)

Аватар пользователя Bengalack

29-03-2020, 10:06

Wow. I really like that, that would be so sweet. Just built into the emulator gives so many benefits.

Such a debugger would really speed up C-development. Sad to see that there is no activity on the project since 2016 Sad

Any way we can motivate Erik for continuation? Smile Pride and honor? Big smile

By ToriHino

Champion (487)

Аватар пользователя ToriHino

29-03-2020, 10:21

That looks indeed very promising, and can really help speed up development in C.

By Manuel

Ascended (16371)

Аватар пользователя Manuel

29-03-2020, 12:03

You could try to contact him of course. Perhaps it sparks motivation Smile
Especially if you can offer him help.

By sd_snatcher

Prophet (3257)

Аватар пользователя sd_snatcher

29-03-2020, 13:25

Wow! Since we now have the Fusion-C library, this indeed could provide a huge boost for C development on the MSX!

By Bengalack

Expert (118)

Аватар пользователя Bengalack

29-03-2020, 18:36

I use Fusion-C as well.

I have sent him an email.

By Bengalack

Expert (118)

Аватар пользователя Bengalack

01-04-2020, 09:39

The debugger is written in python. Anyone here with a certain fluency in python? @DamnedAngel or others? Maybe we could contribute and help Erik out? At least get the basics up:

  1. Set breakpoint on C-level
  2. Step through
  3. Watch variable contents

...and then go on with other niceties Smile