Giter Site home page Giter Site logo

DAP UI integration? about hex.nvim HOT 5 CLOSED

rohit-kumar-j avatar rohit-kumar-j commented on May 25, 2024 1
DAP UI integration?

from hex.nvim.

Comments (5)

RaafatTurki avatar RaafatTurki commented on May 25, 2024

Such an interesting usecase!

AFAIK DAP clients (the debugger underneath) attaches to a running process and changes live memory values.
I'm unsure if this is the correct way to implement this but I think developing this feature require 2 essential parts:

  • a method to reliably read the memory of the DAP-attached-process
  • a performant way to re-read said memory everytime DAP UI changes a value

And I'm unsure on how to go about the 1st part

from hex.nvim.

rohit-kumar-j avatar rohit-kumar-j commented on May 25, 2024

For the first part,

I think nvim-dap has not yet integrated this: mfussenegger/nvim-dap#331.
However vimspector has something similar (Although this is a work in progress)

from hex.nvim.

RaafatTurki avatar RaafatTurki commented on May 25, 2024

Hmm I see
Is this a codelldb only feature or are there other DAP adapters that provide something similar?

from hex.nvim.

rohit-kumar-j avatar rohit-kumar-j commented on May 25, 2024

I don't think such a feature is specific to lldb, but as of now it has been implemented in vimspector for lldb.
Cpp-tools is the other one that I know of, they have merged something like this directly into vscode as well.

from hex.nvim.

RaafatTurki avatar RaafatTurki commented on May 25, 2024

hmm, as interesting as it is.
I don't have the knowledge to implement such capability into the plugin.
I'll say it's out of scope however a PR or a working draft would be a good starting point and are welcome.

from hex.nvim.

Related Issues (15)

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.