Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Document xdebug_break() behavior. #7

Merged
merged 1 commit into from

2 participants

@artnez

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.

@artnez artnez 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.
e3c998b
@joonty
Owner

Thanks for adding to the help file, it's great to have a user generated FAQ!

@joonty joonty merged commit 1839236 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 31, 2012
  1. @artnez

    Document xdebug_break() behavior.

    artnez authored
    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.
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 0 deletions.
  1. +6 −0 doc/Vdebug.txt
View
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.
Something went wrong with that request. Please try again.