XDebug in Komodo IDE 6 or Netbeans 7 with OSX: Uninitialized variables?

2 replies [Last post]
sbilde
Offline
Last seen: 3 years 25 weeks ago
Joined: 2011-06-10

Hi.

I have tried to setup Xdebug along with easyDebug plugin for firefox.

The phase of setting a breakpoint both in Netbeans or Komodo, is going well, and the execution is stopped. But I'm not able to see the type of the variables, and their values.

I can see the superglobals, but all me local variables are marked as: 'uninitialized'

Does anyone have experience with this error?

Here is how it look:

http://biso.dk/img/debug_snap.png

sbilde
Offline
Last seen: 3 years 25 weeks ago
Joined: 2011-06-10
Found a workaround!

Just to spare anyone elses time, I wanna share this information. After 10 hours of frustration I found a clue in this article: http://community.activestate.com/forum/zend-debugger

Apparently xdebug 2.0.5 -> 2.1.2 have a issue working with php5.3

Im working on a MAMP-stack, so in the httpd.conf, I change the load to php5.2 module instead of the php5.3.

Now debugging in komodo and netbeans are showen the beautiful nested arrays, as it should.

If anyone read this thread and have xdebug working with php5.3, feel very free to share your local setup configuration.

A picture of the beautiful variables:)

http://biso.dk/img/debug_fix.png

Chris Shattuck
Offline
Last seen: 9 weeks 6 days ago
Joined: 2009-08-16
Thank you for posting your

Thank you for posting your solution, Steffen!

Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:


Loading...
Contact us

Below are the supported keyboard shortcuts for our video player.

space
Start / stop video
shift
Go to next video
shift
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
1...9
Jump to a percentage (2 is 20%, for example)
f
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
$29
1 month
$156
6 months
10% off
$276
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
user
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.