mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Add debugger detector for Linux
This commit is contained in:
@@ -2584,7 +2584,7 @@ bool GUI_App::on_init_inner()
|
||||
bool debugger_attached = false;
|
||||
#if defined(__WINDOWS__)
|
||||
debugger_attached = IsDebuggerPresent();
|
||||
#elif defined(__WXOSX__)
|
||||
#elif defined(__WXOSX__) || defined(__linux__)
|
||||
debugger_attached = is_debugger_present();
|
||||
#endif
|
||||
if (debugger_attached) {
|
||||
|
||||
Reference in New Issue
Block a user