MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Pages: 1

rubinstu
MAME Fan
Reged: 02/05/10
Posts: 20
Send PM


Development workflow and tools general questions
#394455 - 07/22/22 02:58 AM


Hey, I have some general questions about MAME development. I have gone through the "standard" instructions for building w/ MSYS2, but they don't get much into workflow, best practices, debugging, etc.
What debugger do people use? How does one debug with the MSYS2 toolset?
Is anyone actively using Visual Studio?
Is Linux or Windows the de facto dev environment?
Anyone using Visual Studio Code in Windows or Linux?
Thanks



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2261
Send PM


Re: Development workflow and tools general questions new [Re: rubinstu]
#394463 - 07/22/22 09:20 AM


> What debugger do people use?

I use printf.

> How does one debug with the MSYS2 toolset?

Either gdb or well-placed printfs.

> Is anyone actively using Visual Studio?

Yes.

> Is Linux or Windows the de facto dev environment?

There is no "de facto" dev environment, various team members use Windows, Linux, and even macOS without issue.

> Anyone using Visual Studio Code in Windows or Linux?

Maybe?

If you're actually planning to contribute and want to interact with devs, you're probably better off popping over to https://forums.bannister.org/ and registering there, as despite the name "MAMEWorld", these forums are a bit of a dumpster fire and avoided by quite a few devs.



Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4462
Loc: Melbourne, Australia
Send PM


Re: Development workflow and tools general questions new [Re: rubinstu]
#394464 - 07/22/22 10:31 AM


> What debugger do people use? How does one debug with the MSYS2 toolset?

I generally use GDB - install the x86-64 MinGW GDB, and run it from a CMD shell. If you try debugging a MinGW application like MAME in MSYS2 GDB, you won’t be able to break with Ctrl+C, etc. and running MinGW GDB in an MSYS2 shell will cause issues with paging not working, command history not working, and more.

> Is anyone actively using Visual Studio?

Yes, some people do use Visual Studio. You may get better results using the clang-cl compiler than MSVC (cl) with Visual Studio. You can install the clang toolchain for Visual Studio with the Visual Studio installer.

> Is Linux or Windows the de facto dev environment?

There are probably more MAME developers on Linux than Windows at the moment, but most stuff works the same way on either. There are also a smaller but significant number of people developing MAME on macOS.

> Anyone using Visual Studio Code in Windows or Linux?

I believe R.Belmont uses Visual Studio Code for MAME development on Linux and macOS. There may be other developers using it.



rubinstu
MAME Fan
Reged: 02/05/10
Posts: 20
Send PM


Re: Development workflow and tools general questions new [Re: MooglyGuy]
#394473 - 07/23/22 04:38 AM



Quote:


you're probably better off popping over to https://forums.bannister.org/



Thanks for the link! I will definitely sign up and hopefully contribute when the time is right.


Pages: 1

MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Pi 
0 registered and 61 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 315