Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08638 Debugger Minor Have not tried May 21, 2023, 00:10 4 days ago
Tester holub View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Open OS MacOS X
Status [?] Driver
Version 0.253 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 08638: MacOS debugger extremely slow
Description Issue reproduced on MacOS but not on linux, Windows
Steps To Reproduce > mame spectrum -d
* open new memory view for program space
* resize window
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
txt file icon mame.sample.txt (2,607,384 bytes) May 30, 2023, 13:17 Uploaded by holub
sample output
Relationships
There are no relationship linked to this issue.
Notes
8
User avatar
No.21454
holub
Tester
May 21, 2023, 12:59
It's not driver specific - same happens with amstrad
User avatar
No.21516
Tafoid
Administrator
Jun 6, 2023, 16:38
Is it a sudden onset (last version or two) or has it always been this way? Any way you could check some older builds?
Opening this up to Direction Needed - I don't have access to MacOS.
User avatar
No.21541
holub
Tester
Jun 14, 2023, 16:29
similar in 0.253
User avatar
No.21890
holub
Tester
Dec 21, 2023, 16:45
I suspected MacOS debugger doesn't disable side_effects somewhere but after some testing proved that's not the case.
Apparently slowness comes from external OS calls not controlled by MAME at this moment.
User avatar
No.21901
Robbbert
Senior Tester
Jan 4, 2024, 18:44
So, is this a MAME issue? Or not? I don't have a Mac to check this.
User avatar
No.21906
holub
Tester
Jan 11, 2024, 16:45
It's hard to say "that's not MAME". Possibly there are some best practices for SDL calls we can apply to the layer, but that's beyond my expertise and I don't even have environment to properly test it.
Report comes from my interaction with the user without development experience and in this situation is problemaric to guide him how to perform desired troublshooting.
User avatar
No.22104
R. Belmont
Developer
May 12, 2024, 20:53
SDL interferes with the Cocoa event loop used by the debugger. This is what the Mac native OSD was intended to fix, but I can't get it to work and nobody with Cocoa experience has helped.
User avatar
No.22395
holub
Tester
4 days ago
Nobody familiar with Cocoa here who can review MAME's current state and make any suggestions?