Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Update for critical security issue in PHPMailer included in release Vanilla 2.3.1
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

[Documentation] savvy Netbeans ide users (or eclipse) - vanilla question

peregrineperegrine MVP
edited April 2012 in Vanilla 2.0 - 2.2

I can direct netbeans to a particular page in a vanilla and the page with xdebug pops up in my browser. Is there a way to click on something in the web page and have the netbeans code continue in the debugger until some beakpoint.
I can get the breakpoints and tracing in the netbeans ide, but is there some magic to make the debugger continue from clicking in the browser itself.

or if this can be done with eclipse - that would be fine too.

I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Best Answer

  • ToddTodd Chief Product Officer Vanilla Staff
    Accepted Answer

    Once xdebug has attached to your process it should continue to stop at breakpoints even when you follow links. Try putting a breakpoint on another page.

    That being said, xdebug is not a polished tool. I've used it on both Windows and OSX and it's been a real pain in both cases. On Windows I've had to try multiple versions of xdebug just to get it to work at all. On OSX it's been a bit easier, but I often have to restart Netbeans because xdebug has hijacked a process.

    If you can't get xdebug to work then I recommend searching for your xdebug version and then trying an earlier one depending on what other people have found works. Maybe try searching for your version of Netbeans to see what version of xdebug works with it. The final piece is whether or not your version of xdebug is compatible with your version of php. You have to search for all of these things.

    Xdebug can help you out a lot, but it's definitely a hackers type tool. You've got to fiddle with it a lot and there is not just one easy way to fix it.



Sign In or Register to comment.