diff --git a/qrenderdoc/Code/QRDUtils.cpp b/qrenderdoc/Code/QRDUtils.cpp index 8525ab7ea..dd947471b 100644 --- a/qrenderdoc/Code/QRDUtils.cpp +++ b/qrenderdoc/Code/QRDUtils.cpp @@ -3563,10 +3563,8 @@ void LambdaThread::windowsSetName() GetModuleHandleA("kernel32.dll"), "SetThreadDescription"); if(setThreadDesc) - { setThreadDesc(GetCurrentThread(), m_Name.toStdWString().c_str()); - } - else + { // don't throw the exception if there's no debugger present if(!IsDebuggerPresent())