Known issues
This chapter describes ways to fix problems you may encounter when you work with the QNX Toolkit. You should also see the changelog on the Visual Studio Marketplace for more information about changes and new features.
General
Issue with the IntelliSense configuration (Ref# 2949888)
- Explanation: Unable to resolve the IntelliSense configuration.
- Suggested Resolutions (select one):
- Workaround 1:
In c_cpp_properties.json, change the compiler path to gcc:
"compilerPath": "$ {env:QNX_HOST} /usr/bin/ntox86_64-gcc"
- Workaround 2: Set the environment variable from shell by running qnxsdp-env.bat from the root of your SDP. Launch VS Code from the shell and use "use_env" as the SDP path in the VS Code settings for qnx.sdpPath.
- Workaround 1:
QEMU target networking issue wording - Ubuntu 22.04 (Ref# 2937816)
- Explanation: The wording in the console is misleading. It doesn't clearly indicate that networking needs to be configured.
- Suggested Resolutions: N/A
Fail to generate CMake project on Windows (Ref# 2961853)
- Explanation: Error when using the Generate Project Template command on Windows.
- Suggested Resolutions: Specify which shell tasks are run in.
CMake requirement does not match supported hosts (Ref# 2960888)
- Explanation: The default CMake project sets the minimum required version as 3.24. However, CMake on the officially-supported Ubuntu version for SDP 8 (22.04) ships with CMake 3.22. The result is that the project fails to build.
- Suggested Resolutions: Generated template for CMake requires the minimum version of 3.24; however, there is no specific restrictions in the tool itself. If you have your own CMake configuration files, then you can use your version of choice.
Can't pause application running on QNX from VS Code on Windows (Ref# 2959646)
- Explanation: After you've disabled breakpoints in VS Code, you can't pause or add breakpoints.
- Suggested Resolutions (select one):
- Workaround 1: First terminate the process, insert breakpoints, and then restart.
- Workaround 2: Use the Attach Debugger to QNX Process command to attach the debugger to the running process; this creates a new debug session.
Targets and monitoring
VM target creation
- Explanation: SDP 8.0 only supports the following VM target and hypervisor combinations: x86_64 platforms using VMware Workstation or VirtualBox (version 6.1 only).
- Suggested Resolutions: N/A
System Profiler
Issue with QNX Trace Server extraction (Ref# 2941054)
- Explanation: The following error message is raised: Could not find the trace server at the specified path: ${HOME}/.vscode/extensions/qnx.qnx-vscode-${version}/vscode-trace-server/tracecompass-server.
- Suggested Resolutions:
- Uninstall and Reinstall the QNX Toolkit extension.
- Navigate to /${HOME}/.vscode/extensions/qnx.qnx-vscode-${version}/server-builds. Manually extract the appropriate QNX Trace Server package to ${HOME}/.vscode/extensions/qnx.qnx-vscode-${version}/vscode-trace-server/.
Launching and debugging
Unsupported features
- Explanation: The following features aren't supported:
- Local variables in non-function scope (i.e., inside another block)
- Watchpoints
- Follow child after fork
- Detach
- Suggested Resolutions: N/A
Page updated: