Breaking into the debugger from the menu. This may be useful in Windows.
This commit is contained in:
parent
d6b53d18b8
commit
23a5edbd11
@ -39,7 +39,11 @@ enable_screensaver()
|
|||||||
bool
|
bool
|
||||||
debugged()
|
debugged()
|
||||||
{
|
{
|
||||||
|
#ifdef _WIN32
|
||||||
return IsDebuggerPresent();
|
return IsDebuggerPresent();
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif /* _WIN32 */
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user