Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
break.h
Go to the documentation of this file.
1 
18 #ifndef ION_PORT_BREAK_H_
19 #define ION_PORT_BREAK_H_
20 
21 namespace ion {
22 namespace port {
23 
30 ION_API void Break();
31 
34 ION_API void BreakOrAbort();
35 
37 ION_API bool IsDebuggerAttached();
38 
39 } // namespace port
40 } // namespace ion
41 
42 #endif // ION_PORT_BREAK_H_
bool IsDebuggerAttached()
Don't break on unsupported platforms.
Definition: break.cc:121
void Break()
If a debugger is attached, this function interrupts the program execution and causes any attached deb...
Definition: break.cc:127
void BreakOrAbort()
Calls Break() if running in a debugger, abort() otherwise.
Definition: break.cc:141