Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Document xdebug_break() behavior.

xdebug_break() is helpful when the debugger won't stop at a breakpoint.
The causes of this vary; for example some complex auto class loading may
be confusing xdebug. Using xdebug_break() is a last resort, but at least
it achieves the desired effect of breaking at a line of code when
nothing else works.
  • Loading branch information...
commit e3c998b769373f0dc0040e875388e21244989bc7 1 parent 556b054
@artnez authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 doc/Vdebug.txt
6 doc/Vdebug.txt
@@ -968,6 +968,12 @@ it to this list.
A. This is addressed in |VdebugSetUpPython|. A patch needs to be applied
to the debugger engine code.
+ Q. I am debugging a PHP script and VDebug won't stop at my breakpoint, but
+ it will stop at other breakpoints. What do I do?
+ A. You should try reproducing this case outside of your (likely large)
+ codebase. In the meantime, you can use the xdebug_break() function to
+ hardcode a breakpoint in your file.
Q. I keep getting error <x> when doing <y>.
A. Send the details of the error to me at the email address at the top of
this section, or raise an issue on the Github page.
Please sign in to comment.
Something went wrong with that request. Please try again.