Giter Site home page Giter Site logo

Comments (5)

FrankBro avatar FrankBro commented on April 28, 2024 2

Maybe it's worth to open multiple bugs but I realized it does not catch commands such as up either. Meaning it does not start pointing in the file you have opened.

from nvim-gdb.

FrankBro avatar FrankBro commented on April 28, 2024 1

Can confirm it also does not work on gdb.
break X will set it, F8 on the line it should be will remove it, pressing F8 again will set it and display it.

from nvim-gdb.

sakhnik avatar sakhnik commented on April 28, 2024

That's quite expected, I already considered this in #7. For the plugin to capture a breakpoint set without F8, it's required to parse GDB/LLDB output as of today's implementation. This is neither accurate nor reliable. For instance, LLDB output wouldn't allow telling a one-shot breakpoint from another one; the file basename isn't enough to pick up a correct source (full path isn't printed though) etc. So actually, I'm investigating how to run GDB and LLDB wrapped into a proxy application with a side-channel for auxiliary commands like "query all the breakpoints in the current file". See #20

Now, more specifically:

  • It should work in GDB already. There is already test for that in test_10_detect. If you could create a minimal example how to reproduce the bug, I'd appreciate it.
  • LLDB is likely to be supported slightly later than GDB, after #20.

from nvim-gdb.

sakhnik avatar sakhnik commented on April 28, 2024

By the way, "up" works for me too. Are you sure you don't have any specific LLDB customizations?

from nvim-gdb.

FrankBro avatar FrankBro commented on April 28, 2024

Ouch, sorry about the last one, forgot to do the debug build. up works for me too. Tested on gdb. 😅

from nvim-gdb.

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.