Giter Site home page Giter Site logo

Comments (4)

pnasrat avatar pnasrat commented on July 21, 2024

What is the goal. If you're trying to emulate gdb command line then obviously this breaks that - but I think we can do better user experience than GDB.

I'd love for an actual debugging API to be better defined so eg the websocket API ine #57 could be more restful and we could eg implement a grpc API ontop also. Something a little higher level to consume than proctl

This is more comparable to eg JDWP http://docs.oracle.com/javase/8/docs/technotes/guides/jpda/jdwp-spec.html than to a CLI focussed debugger but I think might lead to a richer tool ecosystem - for IDE integration/web frontends/etc.

from delve.

derekparker avatar derekparker commented on July 21, 2024

I have absolutely no problem breaking away from gdb style commands. Right now info is the one that most closely mimics gdb. The goal is to have the best user experience we can.

I'm certainly up for outline a higher level api - I've tossed around the idea of going more traditional client/server route with Delve. All clients (cli, web, ide) would speak with a debug "server" which would speak a well defined protocol, trivializing the addition of new clients.

If you'd like to open a discussion about it I'm up for fleshing the idea out more, and in the meantime I might spike on this idea, and see what it looks like. Initially there was no need for this type of design, however I think now it may be beneficial.

from delve.

pnasrat avatar pnasrat commented on July 21, 2024

Happy to flesh out more. What's the best forum for discussion?

Just as another approach:

https://developer.chrome.com/devtools/docs/protocol/1.1/index
https://developer.chrome.com/devtools/docs/protocol/1.1/console

That being said that doesn't block iterating on the CLI right now.

from delve.

derekparker avatar derekparker commented on July 21, 2024

@pnasrat I can create an issue today to begin discussion and track changes.

from delve.

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.