Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7730723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:17:49+00:00 2026-06-01T06:17:49+00:00

I am running PHP 5.3.2, Apache 2.2.14 and xdebug 2.2.0rc1 on my Ubuntu 10.04

  • 0

I am running PHP 5.3.2, Apache 2.2.14 and xdebug 2.2.0rc1 on my Ubuntu 10.04 laptop, and I am trying to set up debugging on localhost in Netbeans 6.8.

My problem is that breakpoints I set in Netbeans are being ignored. Otherwise it it seems to work correctly. For example, I get pretty var_dumps, xdebug traces, xdebug remote logs and I can also tick the box so that it breaks on the first line of the PHP script.

Based on other websites and SO questions (e.g. SO1, SO2, SO3) I’ve checked all of the following:

  • That the php.ini file I am editing is being used
  • That xdebug is loaded as zend_extension=/full/path/to/xdebug.so (not extension=xdebug.so)
  • Thread safety is disabled in PHP and I am using the non-thread safe version of xdebug
  • That the path to the breakpoints is correct in the xdebug remote log (see code snippet below this list, the paths in that snippet and others not shown are correct)

    <- breakpoint_set -i 1014 -t line -s enabled -f file:///var/www/mockup/test.php -n 8 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="1014" state="enabled" id="135610002"></response>
    
  • Manual calls to xdebug_break() work

I have also tried to set up the server path and project path in the Netbeans project properties because it feels like that could be the problem, but it hasn’t helped. Currently I have server path as /var/www/mockup and project path as /common/rsync/Dropbox/active-archives/code/Locus/mockup

However, /var/www/mockup is a symlink to the longer path anyway so I don’t even know if this is necessary? It does not work whether I specify the path mapping or not…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T06:17:51+00:00Added an answer on June 1, 2026 at 6:17 am

    Xdebug (through PHP) doesn’t support symbolic links yet (there is an issue at http://bugs.xdebug.org/view.php?id=627). PHP/Xdebug always uses the fully expanded link so you will need to make sure netbeans sets up a breakpoint like:

    breakpoint_set -i 1014 -t line -s enabled -f file:///common/rsync/Dropbox/active-archives/code/Locus/mockup/test.php
    

    You will have to set-up a path mapping. After you’ve verified that the breakpoint_set include the correct path, it should work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am debugging PHP site running on remote Apache2 server with xdebug and NetBeans.
I've been working on an internal site that has Apache / PHP running. I
Is there a way to set php running under apache to create folders with
I am running PHP (on Apache/Windows) and I am trying to connect to a
If I running a php script in Apache that requires a php file, is
I'm trying to connect to Gmail through IMAP with PHP running in Apache. This
OS: ubuntu 11.10 Webserver: Apache Code: PHP I am trying to display the output
When running PHP with Apache I know that the php core and all libraries
I have very specific problem running PHP as Apache 2.2 module. When running PHP
Specifically, I'm trying to get ViewGit working on a PHP/Apache/Windows installation. It seems that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.