Kindari / SublimeXdebug

Xdebug Interface for Sublime Text 2
Other
367 stars 66 forks source link

Not able to see all the object #28

Open obiyoda opened 12 years ago

obiyoda commented 12 years ago

Not sure if I'm missing something but when I select an object in sublime with the debugger running this is what I see

$shorturl (object) = 
$shorturl->message (string) = http://www.google.com/ added to database
$shorturl->shorturl (string) = http://s.aaa/1q
$shorturl->status (string) = success
$shorturl->statusCode (int) = 200
$shorturl->title (string) = Google
$shorturl->url (object) = 

When I var_dump the same variable I get the following:

object(stdClass)[24]
  public 'url' => 
    object(stdClass)[25]
      public 'keyword' => string '1p' (length=2)
      public 'url' => string 'http://www.google.com/' (length=22)
      public 'title' => string 'Google' (length=6)
      public 'date' => string '2012-07-12 17:31:00' (length=19)
      public 'ip' => string '127.0.0.1' (length=9)
  public 'status' => string 'success' (length=7)
  public 'message' => string 'http://www.google.com/ added to database' (length=40)
  public 'title' => string 'Google' (length=6)
  public 'shorturl' => string 'http://s.aaa/1p' (length=15)
  public 'statusCode' => int 200

Just trying to figure out how to see the entire object.

generalconsensus commented 12 years ago

Have you had any luck on this?

Kindari commented 12 years ago

Sorry guys, this is a known limitation of the way scope is handled. I would really love to dedicate some time to this but work comes first. You will be the first to know about it once I get some work on it, I promise!

Kindari commented 12 years ago

This will be addressed in the rewrite I'm working on now. Expect an update within a day or two, for more info see #36.