Skip to content

Instantly share code, notes, and snippets.

@warmonkey
Last active July 16, 2023 07:55
Show Gist options
  • Save warmonkey/c4859ed19091ab010261d86761188c62 to your computer and use it in GitHub Desktop.
Save warmonkey/c4859ed19091ab010261d86761188c62 to your computer and use it in GitHub Desktop.
Fix the "Qt Debugger: The GDB process terminated" error on windows

Some MinGW gdb versions will crash on info registers command. [https://sourceware.org/bugzilla/show_bug.cgi?id=26304]

Once a debugger panel in QtCreator opened, it will keep sending info registers command to gdb.
To stop this, remove Debugger.MainWindow/ChangedDocks and Debugger.MainWindow/State fields from C:\Users\[UserName]\AppData\Roaming\QtProject\QtCreator.ini

[Debugger.MainWindow]
AutoHideTitleBars=true
ShowCentralWidget=true
ChangedDocks=[REMOVED THIS]
State=[REMOVE THIS]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment