mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-29 00:21:56 -05:00
Add debugger detector for Linux
This commit is contained in:
1 parent
1441da246b
commit
fc33a680d1
3 files changed
+24
-1
No files matched your search
@@ -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