Comments (10)
Hi @binfsuc, I haven't tested debugging with VSCode + WSL. My guess is that VSCode is not configured to use the same gdb binary as the one from WSL.
Can you share all the project files from this C++ demo, please? (CMake-related files, source code and launch.json)
from openimagedebugger.
Hi @binfsuc, I haven't tested debugging with VSCode + WSL. My guess is that VSCode is not configured to use the same gdb binary as the one from WSL.
Can you share all the project files from this C++ demo, please? (CMake-related files, source code and launch.json)
Thank you. If it is what you said, how should I modify it
from openimagedebugger.
Hi @binfsuc if you can share them as files and/or text it gets easier for me to help :)
from openimagedebugger.
@brunoalr ok ๏ผthis is all file
from openimagedebugger.
Thanks! I will try to reproduce it later and let you know.
from openimagedebugger.
ok
my ./gdbinit
run python3 /path/to/OpenImageDebugger/oid.py --test
from openimagedebugger.
is there any progress?
from openimagedebugger.
I was able to reproduce the issue.
The more detailed error message I got is
&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
[OpenImageDebugger] No clients connected to OpenImageDebugger server
But I don't know how to solve this. Sorry.
On the other hand, I tested debugging via the command line and it works fine on Windows 10 + WSL2 + MobaXterm's X11 server. I would recommend using OID via the command line, since right now we don't have much time to focus on specific IDEs. Feel free to contribute, though :)
from openimagedebugger.
I also did one final test, in the same setup (Windows 10 + WSL2 + MobaXterm's X11 server) I installed vscode inside WSL and I can confirm it works.
from openimagedebugger.
Another test: I was able to get access to a Windows 10 22H2 with WSLg support and managed to get OID to work when connecting to a WSL remote on VSCode running on the host machine. Make sure you source oid.py
correctly, for example via ~/.gdbinit
.
from openimagedebugger.
Related Issues (20)
- Late initialization of image structs HOT 3
- An error occurred while compiling HOT 6
- Windows version crushes with error message: The procedure entry point ?edit@QAbs......... HOT 1
- QtCreator seems unable to display variables when buffer was visualized
- Create Bug template
- TensorFlow & python3 support HOT 4
- Support for mixed planar and interleaved formats, such as YUV420 : NV21, YV12 HOT 2
- Add support for persistent settings
- Add support for newer lldb API HOT 1
- Solve LGTM alerts
- Add support for pdb
- Fine tune activity bot
- Remove qmake support in September 2021
- Eclipse IDE and embedded image processing projects debuging (MCU) HOT 1
- create a new Qt Widgets Application instead of the current plug-in HOT 2
- cannot debug and continuing report waitforbyteswirtten HOT 1
- Add observable symbols in (this) class.
- how to build on HOT 1
- Cannot view Eigen::MatrixXf when using CodeLLDB HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openimagedebugger.