Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » pdt debugger object inspection
pdt debugger object inspection [message #62257] Thu, 06 December 2007 19:38 Go to next message
Eclipse UserFriend
Originally posted by: mat.mad.id.au

Hi.

Just stumbled across PDT. Thanks guys! Nice work!

Look I just wanted to mention something obvious which you have probably
heard already. How about being able to inspect an object in the debugger?
ie. drill down into the properties of the object. Right now all you get in
the variables window in the debugger for an object is the object type.

I'm using xdebug with apache in windows.
Re: pdt debugger object inspection [message #62305 is a reply to message #62257] Fri, 07 December 2007 03:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.mark-kirchner.de

Mat Dodgson schrieb:
> How about being able to inspect an object in the
> debugger? ie. drill down into the properties of the object. Right now
> all you get in the variables window in the debugger for an object is the
> object type.

Hm, no. At least in my installation in the variables- and the
expressions-view there is this little "+"-icon on the left side of the
variable-name (for objects, arrays and stuff like that). Clicking on it
expands it and shows object-properties / contents of the array.

HTH,
Mark
Re: pdt debugger object inspection [message #62353 is a reply to message #62305] Fri, 07 December 2007 08:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mat.mad.id.au

Thanks! You're right - I can inspect for example a HttpRequest. Strangely,
I'm not able to inspect any of the DOM* classes (DOMXPath, DOMDocument,
DOMNodeList).
Re: pdt debugger object inspection [message #62377 is a reply to message #62353] Fri, 07 December 2007 09:45 Go to previous messageGo to next message
Eclipse UserFriend
the DOM classes are defined by an extension rather than PHP code, so propably don't define any PHP
Class properties. All access to internal data is through methods only.

Dave Kelsey

Mat Dodgson wrote:
> Thanks! You're right - I can inspect for example a HttpRequest.
> Strangely, I'm not able to inspect any of the DOM* classes (DOMXPath,
> DOMDocument, DOMNodeList).
>
Re: pdt debugger object inspection [message #63559 is a reply to message #62353] Wed, 19 December 2007 12:15 Go to previous message
Eclipse UserFriend
Mat Dodgson wrote:
> Thanks! You're right - I can inspect for example a HttpRequest.
> Strangely, I'm not able to inspect any of the DOM* classes (DOMXPath,
> DOMDocument, DOMNodeList).

I think you'll find this depends on which magic methods the extension
developer has implemented. If you get something interesting out of a
var_dump(), then you'll probably see something equivalent in the debugger.
Previous Topic:heredoc editors
Next Topic:xdebug not working
Goto Forum:
  


Current Time: Wed May 07 17:24:23 EDT 2025

Powered by FUDForum. Page generated in 0.06644 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top