Skip to main content
Home
The Baheyeldin Dynasty
The journey for wisdom starts with knowledge
  • Home
  • About
  • Site Map
  • Contact

Several notable developments on the Xdebug frontend front ...

  1. Home

By Khalid on 2008/06/01 - 23:41, last updated 2022/11/17 - 15:56

Several notable news items on the Xdebug front lately. As many of us know, Xdebug is a remote debugger and profiler for PHP applications, including Drupal. Many IDE's support Xdebug, such as ActiveState's Komodo, and Eclipse with PHP's extension.

However, not all developers like those GUI front ends for various reasons. I even prefer using vim with Xdebug.

So, there has been efforts to make a cross platform Xdebug client that can be used regardless of the IDE one prefers.

Xdebug Front End

First, in 2007, Derick Rethans, author of Xdebug, mentored Adam Harvey to write an Xdebug as part of Google's Summer of Code that would be cross platform, using wxWidgets for a GUI tool. The result was known as Dubnium. Last I checked, it was not mature enough to use.

Web based Profiler for Xdebug

Earlier this year, there was Webgrind, which does the profiler part only for Xdebug, a la Kcachegrind, for those who do not run KDE, nor want to run it under macports on MacOS/X.

Another Web based profiler

Then there is a Google Summer of Code for 2008 for another web based profiler for Xdebug.

Spectator: A XUL Xdebug front end

And today, I noticed Spectator, which is a XUL application that is an Xdebug front end for debugging. I tried it with Drupal on Kubuntu 8.04, and it does work as advertised.

All I had to do was:

svn checkout http://spectator.googlecode.com/svn/trunk/ spectator
cd spectator
./spectator.sh 

Then in a browser append the ?XDEBUG_SESSION_START=1 string to the URL and you will be in business!

What it does not do is to show values of variables under cursor, like vim does with Xdebug (and all mature IDEs). The current local variables are shown in a side window on the right.

It would be nicer if it had syntax highlighting too.

Conclusions

All in all, we are seeing a lot of advancements here. They are not unified, but they are encouraging nonetheless.

Contents: 
Drupal
  • Add comment

Comments

Elvis McNeely (not verified)

I am somewhat new to

Tue, 2008/06/03 - 09:24

I am somewhat new to debugging (from a Drupal perspective - lots of functions and files involved) so xdebug has proven to be a useful tool from that perspective.

Since I am working on a Windows machine, some of the tools to read xdebug output files won't work for me. I really like "webgrind" (fast, friendly, intuitive) but it lacks one feature I looking for in an app: flow charts or a textual flow of what function calls what and on down the line.

Hopefully more apps or the current ones will be expanded for Windows. If you run into an app with this feature feel free to ping me.

Thanks for sharing...

  • reply

Richard BF (not verified)

MacCallGrind

Mon, 2008/09/29 - 20:46

You might also be interested in a Mac app I wrote for xdebug callgrind profiling, coincidentally on the same day you wrote your post. :-) http://www.maccallgrind.com

  • reply

Anonymous (not verified)

don't forget wincachegrind

Fri, 2008/10/17 - 10:42

In windows, I am using wincachegrind from http://sourceforge.net/projects/wincachegrind. Development has stopped but it works fine with output of current version of Xdebug

Rgds

  • reply

Current

Pandemic

  • COVID-19
  • Coronavirus

Search

Site map

Contents

  • Family
    • Khalid
    • Ancestry
    • Extended
  • Friends
  • Nokat نكت
  • Writings
    • Cooking
    • Culture
    • Science
    • History
    • Linguistics
    • Media
    • Literature
    • Politics
    • Humor
    • Terrorism
    • Business
    • Philosophy
    • Religion
    • Children
  • Technology
    • Linux
    • Arabization
    • Drupal
      • Association
    • Software
    • Internet
    • Technology in Society
    • Digital Archeology
    • NCR History
    • MidEast Internet
    • Programming
    • Saudi ISPs
    • Miscellaneous
  • Places
    • Canada
      • Weather
    • Egypt
      • Cuisine
      • Alexandria
      • E.G.C.
    • USA
    • Saudi Arabia
  • Interests
    • Astronomy
    • Fishing
    • Photography
    • Snorkeling
    • Nature
    • Photomicroscopy
  • Miscellany

In Depth

  • al-Hakim bi Amr Allah: Fatimid Caliph of Egypt الحاكم بأمر الله
  • Alexandria, Egypt
  • Arabic on the Internet
  • Articles on the history of Muslims and Arabs in the Iberian Peninsula تاريخ المسلمين و العرب في الأند
  • DIY GOTO Telescope Controller With Autoguiding and Periodic Error Correction
  • E.G.C. English Girls College in Alexandria, Egypt
  • Egyptian Cuisine, Food and Recipes مأكولات مصرية
  • George Saliba: Seeking the Origins of Modern Science?
  • Internet Scams and Fraud
  • Mistaken for an Arab or Muslim: Absurdities of being a victim in the War on Terror
  • Mistaken Identity: How some people confuse my site for others
  • One People's Terrorist Is Another People's Freedom Fighter
  • Overview of Google's Technologies
  • Photomicroscopy
  • Pseudoscience: Lots of it around ...
  • Resources for using Google Adsense with Drupal
  • Rockwood Conservation Area, Southern Ontario
  • Selected Symbolic Novels And Movies
  • Snorkeling the Red Sea near Jeddah
  • Updates and Thoughts on the Egyptian Revolution of 2011

Recent Content

Most recent articles on the site.

  • Origin Of COVID-19: Natural Spillover, Lab Leak Or Biological Weapon?
  • Kamal Salibi and the "Israel from Yemen" theory
  • How To Upgrade HomeAssistant Core In A Python Venv Using uv
  • Ancestry - Paternal Side
  • Review of Wait Water Saver For Whole House Humidifiers
more

Most Comments

Most commented on articles ...

  • Another scam via Craigslist: offering more than asking price
  • Warning to female tourists thinking of marrying Egyptians
  • Craigslist classified for used car: Cheque fraud scam
  • Winning the lottery scam email: World Cup South African lottery
  • Email Scam: BMW 5 Series car and lottery winning
more

About Khalid

Various little bits of information ...

  • Khalid Baheyeldin: brief biography
  • Presentations and Talks
  • Youtube Videos
  • GitHub Projects
  • Drupal.org Profile
  • Astrophotography @ Flickr

Sponsored Links

Your Link Ad Here

Tags

Android Mobile Ubuntu Sony OnStep OpenWRT Router Ericsson COVID-19 Rogers Coronavirus Arabic Kubuntu Home Assistant GSM Telescope tablet Spectrum Scam Python 419 Laptop Firefox DIY CPU Conspiracy Comet Balkanization backup App
More

© Copyright 1999-2025 The Baheyeldin Dynasty. All rights reserved.
You can use our content under the Terms of Use.
Please read our privacy policy before you post any information on this site.
All posted articles and comments are copyright by their owner, and reflect their own views and opinions, which may not necessarily be consistent with the views and opinions of the owners of The Baheyeldin Dynasty.

Web site developed by 2bits.com Inc.