Bug 10438 - Drosera doesn't show the "this" object in its variable list
Summary: Drosera doesn't show the "this" object in its variable list
Status: CLOSED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Enhancement
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2006-08-16 10:43 PDT by Pete Parks
Modified: 2008-05-17 09:55 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pete Parks 2006-08-16 10:43:15 PDT
I am unable to view any member variable in the debugger that is of the form 'this.member_variable'. The work around is to use a local variable 'variable'. Once you have a local variable Drosera can display what data it contains.

We use "prototype" for most of our projects to generate class objects. The problem is that most of the code has it's argument in 'this.member' form which Drosera doesn't seem to display their content in the debugging window.
Comment 1 Mark Rowe (bdash) 2006-08-16 16:04:01 PDT
As a workaround until this is implemented, you can view the value of non-local variables using the JavaScript Console.  Simply enter the name of the variable to evaluate and hit enter and its value will be displayed.
Comment 2 Adam Roben (:aroben) 2008-03-13 22:58:25 PDT
Once bug 9873 is fixed, the only remaining problem will be that Drosera doesn't show the 'this' object in its variable list. Changing this bug to be about that issue.

<rdar://5774773>
Comment 3 Timothy Hatcher 2008-05-16 15:32:06 PDT
Landed in r33534. Note this was added to the Web Inspector's Debugger and not Drosera. 
Comment 4 Timothy Hatcher 2008-05-17 09:55:57 PDT
Closing since Drosera has been replaced by the new Web Inspector debugger. Moving to the New Bugs component so the Drosera component can be closed and removed.