diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 64349b68bf12651c9a9aed90cf2238eeefa5e422..3174e4d61016fcdd326ab154dd2d678e07152c27 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -2641,6 +2641,7 @@ QMessageBox *showMessageBox(int icon, const QString &title,
         title, text, QMessageBox::StandardButtons(buttons),
         ICore::mainWindow());
     mb->setAttribute(Qt::WA_DeleteOnClose);
+    mb->setTextInteractionFlags(Qt::TextSelectableByMouse);
     mb->show();
     return mb;
 }