Skip to content

"Run and Debug" and "F5" doesn't show the compilers detail in the API #4278

Description

@ranolfi

Type: General

  • OS and Version: Arch Linux
  • VS Code Version: Code-OSS 1.37.1
  • C/C++ Extension Version: 0.25.1

When we have a workspace folder open, in the Debug panel when clicking the Add Configuration option and then select C++ (GDB/LLDB), some options with the same name are offered:

image

I tried all three "g++ build and debug active file". Options 1 and 2 generates the same launch.json and tasks.json; option 3 creates a slightly different launch.json file ("miDebuggerPath": "/bin/gdb" instead of "/usr/bin/gdb").

In any case, this is confusing.

Activity

  1. added this to the On Deck milestone on Oct 9, 2019
  2. added
    more info neededThe issue report is not actionable in its current state
    and removed
    more info neededThe issue report is not actionable in its current state
    on Sep 28, 2020
  3. elahehrashedi commented on Sep 28, 2020

    @elahehrashedi
    Contributor

    This is fixed in the new build task changes. Will be available in C/C++ Extension Version: 1.1.0

  4. sean-mcmanus commented on Oct 9, 2020

    @sean-mcmanus
    Contributor

    Elaheh Rashedi (@elahehrashedi) I'm still reproing this with 1.1.0-insiders. What's supposed to happen?
    image

  5. 4 remaining items

  6. sean-mcmanus commented on Oct 15, 2020

    @sean-mcmanus
    Contributor

    Yeah, it doesn't show the details with vscode-insiders. Use F5 (or Build and Debug Active File).

  7. elahehrashedi commented on Oct 23, 2020

    @elahehrashedi
    Contributor

    The user is getting this screen after running "Run and debug" or pressing "F5". I fixed this issue and sent a PR.
    image
    the paths are not visible:
    image
    I solved this problem for "Run and Debug". look at bug: #6376

    Sean McManus (@sean-mcmanus) but when we are running ("C/C++ build and debug active file), the details are not visible and it seems to be on Vs Code side, as the details are being set, but the API doesn't show them. I need to investigate more on this. If the details (i.e. compiler paths) are shown to the user, they will see the difference between different compilers. I opened a new issue for this.

  8. changed the title [-]Options with duplicate names in the 'Add Configuration' feature[/-] [+]"Run and Debug" doesn't show the compilers detail in the API[/+] on Oct 23, 2020
  9. changed the title [-]"Run and Debug" doesn't show the compilers detail in the API[/-] [+]"Run and Debug" and "F5" doesn't show the compilers detail in the API[/+] on Oct 23, 2020
  10. locked and limited conversation to collaborators on Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugfixedCheck the Milestone for the release in which the fix is or will be available.tasks/build/debugAn issue relating to tasks.json (e.g. build issues)

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions