- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OS: Ubuntu 20.04.5 LTS 64bit
Platform: Latitude 7320, 16Gb RAM, Intel i71185G7, GPU Mesa Intel Xe TGLGt2
Visual Studio Code: 1.71.2
Visual Studio Code extensions: Microsoft C/C++ pack, all Intel oneAPI extension except 'GDB with GPU Debug Support for Intel® oneAPI Toolkits'
Intel oneAPI toolkits: Base + necessary prerequisites given in the setup instructions
Context: Using an Intel oneAPI code example simple-add, a project is setup to build the two code samples buffers and usm. Using the DPC++ compiler to build debug executables (-O0 optimisation), they work and execute as expected. Set up debug session (see launch.json below), the debug sessions using gdb-oneapi can step over or into lines of code in the DPC++ sample using the Visual Studio Code debug panel.
The problem in brief: Install extension ''GDB with GPU Debug Support for Intel® oneAPI Toolkits' causes any debug session using either gcc+gdb for normal C++ code or DPC++ +gdb-oneAPI for Dpc++ code to break with the error "Stopping due to fatal error: ProtocolException: Cannot evaluate expression on the specified stack frame.". Uninstall the extension and back to being able to debug successfully again.
Is the extension broken or do I need a missing prerequisite?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel Communities.
Could you please provide the below information to investigate more on your issue:
1) Steps to reproduce your issue.
2) Screenshot of the error.
3)Please provide the hardware details on which you are running the program.
4)Please provide the dpcpp version you are using.
Thanks & Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We haven't heard back from you, could you please provide the above-requested details?
Thanks & Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.
Thanks & Regards,
Hemanth
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page