1void (*crash)() = nullptr;
2
3int main()
4{
5 crash(); // Set breakpoint here
6 return 0;
7}
8

Provided by KDAB

Privacy Policy
Learn to use CMake with our Intro Training
Find out more

source code of lldb/test/API/functionalities/thread/crash_during_step/main.cpp