Known issues
QNX Toolkit1.1QNX Toolkit User's GuideDeveloperSetup
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
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 opening large .kev files (Ref# 3001424)
- Explanation: Opening large .kev files (1.4 GB and greater) may cause VS Code to crash.
- Suggested Resolutions: You can save a smaller filtered .kev
file as a workaround. Follow the steps below:
- Right-click the .kev file in the System Profiler.
- Click Save Filtered File.
- For the time range, select Manually Enter and enter a partial time range (e.g. 50000:58000:ms to include only the last 8s).
- For the filters, select Apply only event filters or Apply only owners filters to reduce the size further.
- Save the filtered file.
- When prompted to open the filtered file, select No.
- Wait several minutes, then open the new (smaller) .kev file to use.
Refer to the Filtering traces
section for more information on filtering .kev files.
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
Issue with the Add Configuration... button (Ref# 2984161)
- Explanation: When you press the Add Configuration... button, the launch configuration may be added to a wrong launch.json file if you have more than one launch.json.
- Suggested Resolutions: Copy and paste the configuration into the correct
launch.json
file.
Example:
{ "type": "qnx-gdb", "request": "launch", "name": "tracelogger", "gdb": "none", "program": "tracelogger", "args": [ "-s3", "-w", "-f/dev/shmem/trace.kev" ], "qnxtarget": "default", "upload": false, "files": [ { "operation": "download", "remotePath": "/dev/shmem/trace.kev", "hostPath": "trace_${command:qnx.timestamp}.kev" } ] },
Page updated: