Giter VIP home page Giter VIP logo

Comments (5)

joonty avatar joonty commented on August 19, 2024

Hi, does this happen even if a breakpoint is placed on a following line with code on it? I.e. does Xdebug crap out if a breakpoint is placed on an empty line, or does it just ignore it?

The correct behaviour is to ignore breakpoints on empty lines, but if it's crapping out (e.g. seg faulting) then that's a problem!

from vdebug.

wildsurfer avatar wildsurfer commented on August 19, 2024

Everything works just perfect.

The issue is that ignoring breakpoints on empty lines is not intuitive, especially for beginners. I was struggling with this problem 2 days before I find out why it "doesn't work". Today I noticed that I'm not the only person with this issue and decided to create this feature request.

So when I put breakpoint on empty line plugin says that connection is closed and it's not clear for me that issue is that breakpoint was ignored

from vdebug.

wildsurfer avatar wildsurfer commented on August 19, 2024

In other words: when I put breakpoint I expect that it should stop on it whether it is a blank line or not

from vdebug.

joonty avatar joonty commented on August 19, 2024

Ah yes ok. This is something annoying about Xdebug - it can't break on empty lines, and it doesn't even warn you. The XML response says that the breakpoint was correctly set, but it still ignores it!

I can add something to Vdebug to not allow you to set a breakpoint on an empty line, but the problem is that it's PHP specific, and maybe only Xdebug specific.

Still, I'll see if I can get that in.

from vdebug.

exussum12 avatar exussum12 commented on August 19, 2024

Im having a slight problem with this, When making a break point on a correct line, Vim Shows this with a B> and making the line green.

Deleting the line currently leaves the break point, Which can not be removed by using :Breakpoint

I can get a screenshot if that helps ?

Deleing a line with a breakpoint on should ideally delete that breakpoint too.

from vdebug.

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.