What Do I Do If C++ Project Debugging Cannot Be Stopped?

Symptom

The step-by-step debugging of a C++ project in MindStudio IDE cannot be ended, and an alarm is generated on the background console.

Fault Analysis

Versions of dependencies may not match or a specific dependency is missing. Rectify the fault based on the specific error message.

Solution

View the logs printed on the console page and rectify the fault based on the error or alarm information. Install the missing dependency or adjust the dependency versions.

For example:

  • "Missing separate debuginfos...": Install the missing debuginfos.
  • "Warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available": Check whether the libc software package version matches the libthread_db software package version.