A method that is portable to most POSIX systems is:
raise(SIGTRAP);
More Related Contents:
- Why should I not #include ?
- Multi-character constant warnings
- Is there a replacement for unistd.h for Windows (Visual C)?
- Can placement new for arrays be used in a portable way?
- What belongs in an educational tool to demonstrate the unwarranted assumptions people make in C/C++?
- Change the current working directory in C++
- In C++, is it safe/portable to use static member function pointer for C API callbacks?
- Is there any “standard” htonl-like function for 64 bits integers in C++?
- OS specific instructions in CMAKE: How to?
- Portability of binary serialization of double/float type in C++
- Building a 32-bit float out of its 4 composite bytes
- how portable is end iterator decrement?
- Portability of #warning preprocessor directive
- How to write portable code in c++?
- STL containers element destruction order
- Portable way of setting std::thread priority in C++11
- How can I mark a C++ class method as deprecated?
- C++ Class wrapper around fundamental types
- Why does C++ parameter scope affect function lookup within a namespace?
- Portable Compare And Swap (atomic operations) C/C++ library?
- Me not understanding do while loops [closed]
- Dijkstra Program
- Performance of built-in types : char vs short vs int vs. float vs. double
- Using char* as a key in std::map
- How to install the Raspberry Pi cross compiler on my Linux host machine?
- What are the differences between -std=c++11 and -std=gnu++11?
- Visual Studio 2017 errors on standard headers
- Is it safe to use the “this” pointer in an initialization list?
- GCC -Wuninitialized / -Wmaybe-uninitialized issues
- What is the branch in the destructor reported by gcov?