Comments (5)
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.
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.
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.
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.
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)
- Xdebug 3 support HOT 2
- xdebug 3 support HOT 1
- modern vdebug: does it play nicely with neovim and xdebug v3.0.2?
- nvim freezes on xdebug connection, then `Error starting Vdebug: <class 'EOFError'>` in the statusline
- Option to disable automatic updating of watch window
- No module found 'dbgp' but I am in a dbgp directory HOT 1
- VdebugEval! Can't get values of array at depth > 1 HOT 3
- Wrong reference in the VimPlug instalation at VimAwesome
- Python program stuck after debugging finish (cursor reach end of program)
- Infinite-ish recursion on singleton classes HOT 1
- No option with key 'autostart' HOT 1
- Vim hangs up connection without stopping on breaking point HOT 3
- Cannot expand or collapse HOT 1
- TypeError when empty xml elements in response HOT 1
- Are there plans for a new release?
- Update README PHP setup with Xdebug HOT 1
- Security concern
- Problems defining close keymap in neovim with lazy plugin manager
- Path maps not working HOT 1
- Error detected while processing /Users/***/vdebug.vim[343]..function Vdebug_load_options[8]..<SNR>11_DefineSigns HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vdebug.