Failed to Start a General Application Debugging Task
Symptom
A general application debugging task fails to be started.
Figure 1 Debugging failure 1
Figure 2 Debugging failure 2
Possible Causes
- The C or C++ plugin is not supported.
- The target server does not have GDB or GDB is not in the specified path.
Procedure
- Upgrade the C or C++ plugin.
- If the target server does not have GDB, download GDB from its official website and install it.
- If GDB is not in the specified path, do as follows:
- Run the following command on the target server to query the GDB path:
1command -v gdb -v
- In the launch.json file, change the value of debuggerPath to the path where the GDB is located.
- Run the following command on the target server to query the GDB path:
Parent topic: FAQs