Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break on first line #185

Closed
exussum12 opened this issue Sep 26, 2014 · 3 comments
Closed

Break on first line #185

exussum12 opened this issue Sep 26, 2014 · 3 comments
Milestone

Comments

@exussum12
Copy link

http://stackoverflow.com/questions/3913626/php-netbeans-xdebug-stops-on-every-include-or-require

Netbeans seems to have a fuction which stops on including files. Would it be possible in vdebug ?

@joonty
Copy link
Collaborator

joonty commented Sep 26, 2014

That's a good question. Does it break at the statement or at the entry
point in the new file? Presumably the statement.

I'll have to look into the different breakpoint types again. It might be
that NetBeans parses the Php file to create a list of breakpoints. If
that's the case I think it's outside the scope of vdebug (unless someone
else wants to contribute it?)

I'll investigate further. Thanks
On 26 Sep 2014 17:37, "Scott Dutton" notifications@github.com wrote:

http://stackoverflow.com/questions/3913626/php-netbeans-xdebug-stops-on-every-include-or-require

Netbeans seems to have a fuction which stops on including files. Would it
be possible in vdebug ?


Reply to this email directly or view it on GitHub
#185.

@exussum12
Copy link
Author

At the entry point of the new file. I tried breaking on call include etc but they are not functions and do not break like that.

Thanks

@joonty
Copy link
Collaborator

joonty commented Aug 24, 2015

Hi, I've asked the author of Xdebug whether this is possible, and it's clear that Xdebug doesn't support it natively. I imagine that Netbeans sends breakpoints for all files in the project, which works because Netbeans knows exactly which files are included in your project. Since Vim is much more light weight, and has no native concept of projects, this doesn't look like it's going to be possible.

Unless anyone has any bright ideas?

For the time being I'll close this, as I can't think of any way to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants