GithubHelp home page GithubHelp logo

Multithread debug issues about lldb.nvim HOT 9 CLOSED

dbgx avatar dbgx commented on June 6, 2024
Multithread debug issues

from lldb.nvim.

Comments (9)

critiqjo avatar critiqjo commented on June 6, 2024 2

Wow! Thanks for the rich bug report. Unfortunately, this is probably due to the same reason as #50 (which is that it has nothing to do with this plugin; just bugs within LLDB's python API).

To elaborate a little more, commands executed using :LL are directly processed by a SBCommandInterpreter object. The only extra commands that are executed by the plugin are these for populating the vim buffers with relevant information. Fetching the breakpoints list for placing the bp-signs, and the program counter list for placing the pc-signs all use LLDB's python APIs, and are not supposed to affect the selected thread.

In short, there's nothing I can do! (And I refuse to patch up an upstream bug in plugin either.) The more important issue is that lldb-devs don't seem to care about Python API bugs either (for some years now). I think they are expecting plugins to use their new machine interface which is developed to be compatible with GdbMI which claims to be becoming a de-facto standard (Update: link now broken, but see this project which, in a way, supports this point).

So you might ask: Does this project have no future? That's right, I'm abandoning this project!! ๐Ÿ˜… ...in favor of gdb.vim, which uses Gdb/MI through pygdbmi! I'm hoping to resume developing it in a month or two.

PS: What tool did you use for editing the video to add those text bubbles?

from lldb.nvim.

lanza avatar lanza commented on June 6, 2024 2

lldb recently had a DAP adapter tool land upstream on master - lldb-vscode. Might be of interest for a tool like this.

from lldb.nvim.

johncf avatar johncf commented on June 6, 2024 1

@lanza Looks very interesting. I'm sure it'll have long-term support for many debuggers if something as big and popular as VSCode is backing it. Unfortunately, I won't be updating lldb.nvim anymore, nor I would review PRs for this since a large portion of the code needs to be changed and it does not make sense to make radical changes to this project in the absence of an active maintainer.

But you're free to copy any part of the source code (fork or not) if that helps you to create and maintain your own independent project.

from lldb.nvim.

lenfien avatar lenfien commented on June 6, 2024

Thank you so much ! The tool is Camtisia 3.
So, It seems the machine interface of lldb and gdb is future. This is the most useful information I get because of my novice.
I am eager to use your new plugin~ Please complete as soon as possible๏ผŒ just can not wait๏ฝž๐Ÿ˜Š

from lldb.nvim.

johncf avatar johncf commented on June 6, 2024

cc #59

from lldb.nvim.

mellery451 avatar mellery451 commented on June 6, 2024

the link in the README led me here - does this mean that gdb.vim is the way forward even for LLDB users? It unclear to me if it's intended to work using lldb-mi or if it only supports gdb/mi. Any clarification appreciated.

from lldb.nvim.

johncf avatar johncf commented on June 6, 2024

@mellery451 I stopped developing gdb.vim after I met with a roadblock from vim's side at the time (it did not redraw the buffers on windows that are not focused, when the buffers are updated remotely). A gdb.nvim project is definitely very feasible, but currently I'm invested on other projects that I don't have time for it.

from lldb.nvim.

ikcalB avatar ikcalB commented on June 6, 2024

@lenfien old but gold ;)

what colorscheme do you use in that vid?
Regards from austria

from lldb.nvim.

BatmanAoD avatar BatmanAoD commented on June 6, 2024

@critiqjo Since the README points to your comment above, would you mind updating the gdb.vim link to point to the current location (under dbgx), since it's currently broken? I suppose you could update the README instead, and I see that you're not actively developing gdb.vim, but at least by editing the comment you'd provide a slightly more robust trail of breadcrumbs than the one I just followed! ๐Ÿ˜†

from lldb.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.