Skip to content

creation of debug configuration does not work #393

Description

@GREAT-DNG

The problem is that there is no GDB extension in OpenVSX. How is it solved?

Activity

  1. GitMensch commented on Feb 9, 2023

    @GitMensch
    Collaborator

    There are multiple GDB extensions on Open-VSX, including this one.
    There is no difference in the general setup between any vscode installation, you need:

    • vscode installation (this includes VSCodium)
    • a GDB binary for the "target" you want to debug that runs on your local machine (on all GNU/Linux distributions that's commonly only an apt/yum/dnf install or similar away, for Win32 the top results of your favorite search machine for "windows binary gdb" likely help)
    • a debug extension (like this one) to couple both (if you don't have the GDB binary in your PATH, then configure it in your debug configuration using the gdbpath setting)
  2. GREAT-DNG commented on Feb 10, 2023

    @GREAT-DNG
    Author

    I have VSCodium and GDB can be accessed via PATH. But when selecting GDB (after pressing F5), nothing happens, launch.json is not generated. What am I doing wrong?

    But with the CodeLLDB extension installed, the LLDB item works, which is why I assume that the problem is in the absence of the extension...

  3. GitMensch commented on Feb 10, 2023

    @GitMensch
    Collaborator

    It is possible that auto-generation of launch.json via F5 does not work (if I remember right there are two different APIs for that).
    So: What about creating launch.json on your own? Note: you can use "code" completion with [ctrl]+[space] to have some suggestions (and also copy what is in the README as a start).

  4. GitMensch commented on Jun 6, 2023

    @GitMensch
    Collaborator

    I've stumbled over this some days ago. This seems unrelated to VSCodium (and is indeed a bug).
    To begin with debugging either create launch.json from scratch or - more easy - go to the "run and debug" view, then click on add configuration (you get the same selection, but it works from there).

  5. changed the title [-]How to use debugging via GDB in VSCodium?[/-] [+]creation of debug configuration does not work[/+] on Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions