home.social

#codelldb — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #codelldb, aggregated by home.social.

  1. @pythno Try ...
    1. Install #clangd but don't setup LSP. This will disable auto completions.
    2. Use #codelldb for debugging -> igorlfs.github.io/neovim-cpp-d

    #neovim

  2. @pythno Try ...
    1. Install #clangd but don't setup LSP. This will disable auto completions.
    2. Use #codelldb for debugging -> igorlfs.github.io/neovim-cpp-d

    #neovim

  3. @pythno Try ...
    1. Install #clangd but don't setup LSP. This will disable auto completions.
    2. Use #codelldb for debugging -> igorlfs.github.io/neovim-cpp-d

    #neovim

  4. @pythno Try ...
    1. Install #clangd but don't setup LSP. This will disable auto completions.
    2. Use #codelldb for debugging -> igorlfs.github.io/neovim-cpp-d

    #neovim

  5. @counterVariable
    5. Notice line no(s). 14, 15, 16. If you use `nvim-navic` or `barbecue` for winbar then don't need to tinker it. Otherwise you can remove it.
    6. `codelldb` for rust, is recommended if you use debugger and have a setup.

    #neovim #rust #rustaceanvim #rustanalyzer #dap #codelldb #lazy #mason

  6. @counterVariable
    5. Notice line no(s). 14, 15, 16. If you use `nvim-navic` or `barbecue` for winbar then don't need to tinker it. Otherwise you can remove it.
    6. `codelldb` for rust, is recommended if you use debugger and have a setup.

    #neovim #rust #rustaceanvim #rustanalyzer #dap #codelldb #lazy #mason

  7. @counterVariable
    5. Notice line no(s). 14, 15, 16. If you use `nvim-navic` or `barbecue` for winbar then don't need to tinker it. Otherwise you can remove it.
    6. `codelldb` for rust, is recommended if you use debugger and have a setup.

    #neovim #rust #rustaceanvim #rustanalyzer #dap #codelldb #lazy #mason

  8. @counterVariable
    5. Notice line no(s). 14, 15, 16. If you use `nvim-navic` or `barbecue` for winbar then don't need to tinker it. Otherwise you can remove it.
    6. `codelldb` for rust, is recommended if you use debugger and have a setup.

    #neovim #rust #rustaceanvim #rustanalyzer #dap #codelldb #lazy #mason

  9. @counterVariable
    5. Notice line no(s). 14, 15, 16. If you use `nvim-navic` or `barbecue` for winbar then don't need to tinker it. Otherwise you can remove it.
    6. `codelldb` for rust, is recommended if you use debugger and have a setup.

    #neovim #rust #rustaceanvim #rustanalyzer #dap #codelldb #lazy #mason

  10. @counterVariable
    3. Do not setup LSP with rust-analyzer beforehand, rustaceanvim will do it for you.
    4. Look at line no. 5, since, you probably didn't/haven't setup any `settings.lua` file to manage macro Neovim settings. Replace the line with `enabled = package.loaded["rust-analyzer"] ~= nil`. This way rustaceanvim will only work when rust-analyzer is available. If you don't care about it remove line no. 5 completely.

    ...

    #neovim #rust #rustaceanvim #rustanalyzer #dap #codelldb #lazy #mason

  11. @counterVariable
    3. Do not setup LSP with rust-analyzer beforehand, rustaceanvim will do it for you.
    4. Look at line no. 5, since, you probably didn't/haven't setup any `settings.lua` file to manage macro Neovim settings. Replace the line with `enabled = package.loaded["rust-analyzer"] ~= nil`. This way rustaceanvim will only work when rust-analyzer is available. If you don't care about it remove line no. 5 completely.

    ...

    #neovim #rust #rustaceanvim #rustanalyzer #dap #codelldb #lazy #mason

  12. @counterVariable
    3. Do not setup LSP with rust-analyzer beforehand, rustaceanvim will do it for you.
    4. Look at line no. 5, since, you probably didn't/haven't setup any `settings.lua` file to manage macro Neovim settings. Replace the line with `enabled = package.loaded["rust-analyzer"] ~= nil`. This way rustaceanvim will only work when rust-analyzer is available. If you don't care about it remove line no. 5 completely.

    ...

    #neovim #rust #rustaceanvim #rustanalyzer #dap #codelldb #lazy #mason

  13. @counterVariable
    3. Do not setup LSP with rust-analyzer beforehand, rustaceanvim will do it for you.
    4. Look at line no. 5, since, you probably didn't/haven't setup any `settings.lua` file to manage macro Neovim settings. Replace the line with `enabled = package.loaded["rust-analyzer"] ~= nil`. This way rustaceanvim will only work when rust-analyzer is available. If you don't care about it remove line no. 5 completely.

    ...

    #neovim #rust #rustaceanvim #rustanalyzer #dap #codelldb #lazy #mason

  14. @counterVariable
    3. Do not setup LSP with rust-analyzer beforehand, rustaceanvim will do it for you.
    4. Look at line no. 5, since, you probably didn't/haven't setup any `settings.lua` file to manage macro Neovim settings. Replace the line with `enabled = package.loaded["rust-analyzer"] ~= nil`. This way rustaceanvim will only work when rust-analyzer is available. If you don't care about it remove line no. 5 completely.

    ...

    #neovim #rust #rustaceanvim #rustanalyzer #dap #codelldb #lazy #mason

  15. @counterVariable Yea, I have something that works.

    NOTE : I've made few assumptions :
    1. You use Lazy as package manager.
    2. You use Mason.

    There are few things that you need to keep in mind :
    1. My path for this file in my config is -> `lua/plugins/intellisense/languages/rust.lua`. But you can put this file anywhere within the `plugins` directory.
    2. You need rust-analyzer for rustaceanvim to work.

    ...

    #neovim #rust #rustaceanvim #dap #rustanalyzer #codelldb #lazy #mason

  16. @counterVariable Yea, I have something that works.

    NOTE : I've made few assumptions :
    1. You use Lazy as package manager.
    2. You use Mason.

    There are few things that you need to keep in mind :
    1. My path for this file in my config is -> `lua/plugins/intellisense/languages/rust.lua`. But you can put this file anywhere within the `plugins` directory.
    2. You need rust-analyzer for rustaceanvim to work.

    ...

    #neovim #rust #rustaceanvim #dap #rustanalyzer #codelldb #lazy #mason

  17. @counterVariable Yea, I have something that works.

    NOTE : I've made few assumptions :
    1. You use Lazy as package manager.
    2. You use Mason.

    There are few things that you need to keep in mind :
    1. My path for this file in my config is -> `lua/plugins/intellisense/languages/rust.lua`. But you can put this file anywhere within the `plugins` directory.
    2. You need rust-analyzer for rustaceanvim to work.

    ...

    #neovim #rust #rustaceanvim #dap #rustanalyzer #codelldb #lazy #mason

  18. @counterVariable Yea, I have something that works.

    NOTE : I've made few assumptions :
    1. You use Lazy as package manager.
    2. You use Mason.

    There are few things that you need to keep in mind :
    1. My path for this file in my config is -> `lua/plugins/intellisense/languages/rust.lua`. But you can put this file anywhere within the `plugins` directory.
    2. You need rust-analyzer for rustaceanvim to work.

    ...

    #neovim #rust #rustaceanvim #dap #rustanalyzer #codelldb #lazy #mason

  19. @counterVariable Yea, I have something that works.

    NOTE : I've made few assumptions :
    1. You use Lazy as package manager.
    2. You use Mason.

    There are few things that you need to keep in mind :
    1. My path for this file in my config is -> `lua/plugins/intellisense/languages/rust.lua`. But you can put this file anywhere within the `plugins` directory.
    2. You need rust-analyzer for rustaceanvim to work.

    ...

    #neovim #rust #rustaceanvim #dap #rustanalyzer #codelldb #lazy #mason

  20. I spent a few hours dealing with the problem of #VSCode giving me a "syntax error" message when I manually entered a struct member variable in the Watch window (i.e. "ctx->id"). As it turned out, it was an issue with the #CodeLLDB extension. I switched to Microsoft's C/C++ extension ("cppdbg") and set "MIMode" to "lldb" so it used lldb instead of gdb. That fixed it. Note: this is on #macOS.

  21. I spent a few hours dealing with the problem of #VSCode giving me a "syntax error" message when I manually entered a struct member variable in the Watch window (i.e. "ctx->id"). As it turned out, it was an issue with the #CodeLLDB extension. I switched to Microsoft's C/C++ extension ("cppdbg") and set "MIMode" to "lldb" so it used lldb instead of gdb. That fixed it. Note: this is on #macOS.

  22. I spent a few hours dealing with the problem of #VSCode giving me a "syntax error" message when I manually entered a struct member variable in the Watch window (i.e. "ctx->id"). As it turned out, it was an issue with the #CodeLLDB extension. I switched to Microsoft's C/C++ extension ("cppdbg") and set "MIMode" to "lldb" so it used lldb instead of gdb. That fixed it. Note: this is on #macOS.