Identify Active Threads
Learn how to identify active threads.
We talked about multi-threaded applications throughout the course. In this lesson, we’ll learn how to identify active threads. We can take a look at all of the threads present in our application to find what’s causing this.
Application source code
We have created a multi-threaded application that encounters a divide-by-zero error and runs into a floating-point exception:
Loading the core dump
We will load the core dump file using the following command:
gdb -c core.App7 -se App7
The above command will output the following to the terminal: