MAME debugger on Linux doesn't work

Discussion in 'Technical Discussion' started by Andlabs, May 19, 2012.

  1. Andlabs

    Andlabs

    「いっきまーす」 Wiki Sysop
    2,175
    0
    0
    Writing my own MD/Genesis sound driver :D
    I build MAME from source and would like to use the debugger to do some basic research on a few arcade games. When I run the MAME debugger-enabled builds with --debug, however, all I get is a black window and no activity. What do I do? I'm running Ubuntu 11.04 (I plan to move distributions later) building MAME 0.145 (this happened with at least one slightly older version too) and can provide other requirements if you ask. Thanks.
     
  2. Andlabs

    Andlabs

    「いっきまーす」 Wiki Sysop
    2,175
    0
    0
    Writing my own MD/Genesis sound driver :D
    Found the problem: in src/osd/sdl/dview.c, in function dview_class_init, on non-Windows systems, it calls gconf_client_get_default() to get the system default monospace font from gconf, which is hanging for some reason. If I change #ifndef SDLMAME_WIN32 to #if 0 to bypass the gconf check and grab the Pango default monospace font, it works. So now the question is why does gconf_client_get_default() not return... :/ Thanks anyway.