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

Question: why does C/C++ debuggers also compiles gdb? #33

Open
NTBBloodbath opened this issue Sep 27, 2021 · 0 comments
Open

Question: why does C/C++ debuggers also compiles gdb? #33

NTBBloodbath opened this issue Sep 27, 2021 · 0 comments

Comments

@NTBBloodbath
Copy link

Hi mate, hope you're doing well!

As the title says I have this question regarding to C/C++ debuggers (in a more specific way with ccppr_vsc one).

I saw those lines in the installation steps for ccppr_vsc and this makes no sense to me due to

  1. I think that the vast majority of C/C++ developers already have gdb installed system-wide.
  2. gdb compilation can be a bit slow and if we already have it system-wide we should be able to skip this step (this could optimize a ton the time to install this debugger).

I know that providing everything ootb is great, but I feel like we don't really need to compile gdb from source if it's already installed system-wide. Maybe we can create a conditional with which gdb and check for the exit code to know if we should compile gdb from source?

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

No branches or pull requests

1 participant