Skip to content

Debug woes on macOS, can't start a debugger #4

@taquitos

Description

@taquitos
  • macOS 10.14.6
  • Xcode 11.3.1
  • mGBA 0.8.1 (older version recommended doesn't launch on my machine, insta crash, output is at the bottom)
  • code signed the gdb binary

I was able to adjust various params in the launch.json to point to the right places, and when I launch I get mGBA that just sits there. I went ahead and pressed the stop button in VSCode, and relaunched (like the README instructs) but it never connects.

Do you think mGBA still doesn't do remote debugging and the real problem is I need to get mGBA 0.6.1 to work?

Crash output (if you have any ideas here, QtOpenGL (5.14 - 5.14.2))

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_platform.dylib      	0x00007fff66472100 _platform_strncmp + 320
1   com.endrift.mgba-qt           	0x00000001065dbc8d mGLES2ShaderInit + 381
2   com.endrift.mgba-qt           	0x00000001065db8af mGLES2ContextInit + 591
3   com.endrift.mgba-qt           	0x000000010651415e QGBA::PainterGL::PainterGL(int, QGLWidget*) + 334
4   com.endrift.mgba-qt           	0x0000000106512523 QGBA::DisplayGL::DisplayGL(QGLFormat const&, QWidget*) + 243
5   com.endrift.mgba-qt           	0x0000000106512049 QGBA::Display::create(QWidget*) + 169
6   com.endrift.mgba-qt           	0x00000001065a8e01 QGBA::Window::Window(QGBA::ConfigController*, int, QWidget*) + 625
7   com.endrift.mgba-qt           	0x0000000106516686 QGBA::GBAApp::newWindow() + 86
8   com.endrift.mgba-qt           	0x00000001065021a9 main + 1321
9   com.endrift.mgba-qt           	0x0000000106501c74 start + 52

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions