Added plat_break() for raising breakpoints and warning() and log_warning() to raise visible non-fatal warnings to the user.
This commit is contained in:
@@ -842,3 +842,13 @@ plat_set_thread_name(void *thread, const char *name)
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
plat_break(void)
|
||||
{
|
||||
#ifdef Q_OS_WINDOWS
|
||||
DebugBreak();
|
||||
#else
|
||||
raise(SIGTRAP);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user