mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-17 18:02:20 -07:00
Add debugger detector for Linux
This commit is contained in:
parent
1441da246b
commit
fc33a680d1
3 changed files with 24 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue