Skip to content
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

windows users: what has been your experience with gdbgui? #149

Closed
cs01 opened this issue Dec 21, 2017 · 12 comments
Closed

windows users: what has been your experience with gdbgui? #149

cs01 opened this issue Dec 21, 2017 · 12 comments
Labels

Comments

@cs01
Copy link
Owner

cs01 commented Dec 21, 2017

Since I'm not a Windows user, I rely on user feedback regarding gdbgui compatibility. In general, I don't really see why gdb would be used on windows since it's oriented toward linux. Can it even be used without some sort of unix emulation (such as cygwin)?

The following questions are of interest:

  • Are you happy with gdbgui's workflow on Windows?
  • Do the installation instructions work as written for Windows?
  • Do you use native Windows or some sort of emulation layer/library?
  • Which version(s) of Windows do you use?

Thanks!

@cs01 cs01 added the question label Dec 21, 2017
@dimpurr
Copy link

dimpurr commented Dec 25, 2017

When I try to open a file, it always report like this: file not found: /c/Users/myccy/Documents/Codes/ACM/CodeVS/1978.cpp
I had tried it in Chrome/Edge Browser, or run gdbgui in Cygwin (git bash) / PowerShell.

What should I do?

Update: I tried to upgrade my Cygwin, and it works.
Hope it can be used without unix emulation soon!

@cs01
Copy link
Owner Author

cs01 commented Dec 30, 2017

@dimpurr , glad you got it working!

Hope it can be used without unix emulation soon!

How were you using it before you upgraded Cygwin? With an old version of Cygwin, MinGW, or something else?

@dimpurr
Copy link

dimpurr commented Dec 30, 2017

@cs01 Yeah, I'd tried Cygwin (old version), git bash, PowerShell, CMD.
All can run the server, but the file path can't work normally. (CMD/Power Shell default use path like C:/User/... , Git Bash default use /c/User/... , but it can't works.)
And after I upgraded Cygwin, it (file path bar in the top of the page) only work properly in Cygwin. (Use /c/User/... )

cs01 pushed a commit that referenced this issue Jan 3, 2018
@cs01
Copy link
Owner Author

cs01 commented Jan 3, 2018

@dimpurr I looked into this and made some changes. gdbgui should now work with with MinGW in cmd/powershell. There is also a windows binary available at gdbgui.com.

@cs01 cs01 closed this as completed Jan 3, 2018
@gggin
Copy link

gggin commented Jun 13, 2018

I do not know about cygwin and mingW, but I want to use this for cl.exe(Visual Stduio) compiled executable, maybe a new debug protocol or some way.

@sepavel
Copy link

sepavel commented Aug 17, 2018

I have compiled PIVX project using mingw in debug mode on Windows 10 x64.
Paths format to source files is "/mnt/c/<path-to-project".

Gdbgui reports "File not found: /mnt/c/PIVX/src/qt/pivx.cpp".
I have tried to start it from cmd and from bash on linux subsystem on windows

Any advice?

@NarniaT
Copy link

NarniaT commented Nov 23, 2018

Thanks for this interesting software, however, I can not use it on Windows. I'm using gcc on WSL and as a result I don't get .exe files after compilation, but gdbgui asks for exe files.

@bjorn3
Copy link

bjorn3 commented Nov 23, 2018

WSL is basically a linux emulation, so gcc will generate linux executables, not windows executables.

@orazdow
Copy link

orazdow commented Feb 23, 2019

I use Mingw on widows since I prefer that build system. I have the same problem @dimpurr mentioned, that I cannot load source files in the gui.

Specifically what happens is this: "fetch source files" works, and lists the correct source files, but loading a source file fails.

So the source file C:\Users\ollie\Documents\spark\Sl_temp\soundlib.h is listed correctly, but clicking to load (or pasting in the path) results in the error:
file not found: /C:\Users\ollie\Documents\spark\Sl_temp\soundlib.h

cs01 added a commit that referenced this issue Jul 14, 2020
cs01 added a commit that referenced this issue Jul 18, 2020
@maribox
Copy link

maribox commented Jul 1, 2022

I am using gdbgui with WSL and a GUI Tool called "GWSL". When I try to access it in my Windows browser, it doesn't work. I also installed firefox on WSL and ran it there, but that didn't work either. Compiled with gcc. It does show the Dashboard though, in both browsers, so that connection seems to work It just can't access the filesystem, maybe?

@maribox
Copy link

maribox commented Jul 1, 2022

I tried to open gdb in the dashboard with the command "gdb <filepath>". Now it just opens a gdb session, crashes immediately and opens a new session. It opened and closed 100 sessions in the last 2 minutes.

@gpdzvapatsva
Copy link

When I try to run gdbgui on my windows it generates the following error:
raise RuntimeError(
RuntimeError: Windows is not supported at this time. Versions lower than 0.14.x. are Windows compatible.
Please help. I cloned the gdbgui fro github

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants