Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » pdt debugger object inspection
pdt debugger object inspection [message #62257] Fri, 07 December 2007 00: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 08: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 13: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 14:45 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
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 17:15 Go to previous message
Caroline Maynard is currently offline Caroline MaynardFriend
Messages: 3
Registered: July 2009
Junior Member
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: Sat Feb 04 01:48:53 GMT 2023

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

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

Back to the top