-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add image to debug GHDL and/or binaries generate with GHDL #25
Comments
I managed to get the gtk gui running on a Linux environment by using this blog post. Note: I did not have to make any changes to the docker image |
Hi @seanybaggins! I suggest to use mviereck/x11docker if you want to run GUI apps in docker/podman containers. It works on GNU/Linux and Windows 10 (Cygwin, WSL or MSYS2). See https://github.com/ghdl/docker/blob/master/USE_CASES.md#environments-with-guis Note that it is the same you did manually, but with an script that handles it for you. BTW, if you use VSCode, image |
Hi @eine . Thanks for the tips. I originally tried using x11docker but had issues getting x11docker to use the working directory I wanted and/or having it block on startup. I also have VSCode installed with the docker extention. Perhaps my understanding of the |
Note that x11docker supports passing raw arguments to docker. For example: x11docker -i --user=0 -- -v $(pwd):/src -- ghdl/ext bash In this case
Your understading is correct, ghdl-language-server has nothing to do with running GUI applications. The point is that ghdl-language-server depends on GHDL. Therefore, you cannot use the language server extension on the host, without installing GHDL there. At first, you might think that you cannot use the language server because of this. However, a motivation to use the docker image in first place, is precisely to avoid installing the tools on the host. I just wanted to let you know that you can follow this same approach to use the language server inside the container. If you start image |
Images |
Add a docker image which includes GHDL ready for debug (i.e., compiled with
-g
and includinggdb
in the image).The text was updated successfully, but these errors were encountered: