Created attachment 13031 [details]
This is how the bug is replicated
../../gdb/thread.c:95: internal-error: struct thread_info *inferior_thread(): Assertion `current_thread_ != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
This is the basic Error message. The detailed version is in the attachment.
It seems like it cannot read the symbols from the compiled main.cpp file.
If you have an answer you can maybe answer my StackOverflow question:
I think this is a duplicate of 26761.
Note there hasn't been significant contributions to GDB for macOS for a while, so we would need some manpower (or womenpower) to fix these bugs.
*** This bug has been marked as a duplicate of bug 26761 ***
Sorry, wrong bug number, it's 26912.
*** This bug has been marked as a duplicate of bug 26912 ***
I have the same problem as you. Did you get any solution ?