DO NOT USE! THIS IS AMBIGUOUS. You might be looking for [web-inspector].
Questions tagged [inspect]
610 questions
5
votes
2 answers
How to obtain an array of subclasses in Rails
I have a model object which subclasses ActiveRecord. Additionally, using STI, I have defined subclasses of this object, which define different types and behaviors. The structure looks something like this:
class AppModule < ActiveRecord::Base
…

Engin Kurutepe
- 6,719
- 3
- 34
- 64
5
votes
0 answers
What is the difference between stack frame and execution frame?
I'm having trouble understanding the differences between stack frames and execution frames, mostly with respect to the traceback and inspect modules (in Python 3).
I thought they were the same but the docs imply they are not as methods of the…

Michael B
- 269
- 1
- 3
- 10
5
votes
2 answers
Why does Inspect.exe hang frequently and inconsistently display AutomationId?
I'm trying to use MS UI Automation to test a WPF application, and am using the Inspect Object tool (inspect.exe) included with the Windows SDK to look up the AutomationId property on certain elements.
Inspect is behaving very strangely for me:
If I…

rob
- 6,147
- 2
- 37
- 56
5
votes
2 answers
Force show a record in PureScript
Is it possible to force-show (i.e., create a string representation) an arbitrary record in PureScript for debugging purpose regardless of it having a type-class instance for Show?
I would like to show the contents of the Pux Event object but it…

Sridhar Ratnakumar
- 81,433
- 63
- 146
- 187
5
votes
3 answers
Object address in Ruby
Short version: The default inspect method for a class displays the object's address.* How can I do this in a custom inspect method of my own?
*(To be clear, I want the 8-digit hex number you would normally get from inspect. I don't care about the…

Exp HP
- 695
- 6
- 24
5
votes
1 answer
How to inspect an object in script like in scala console?
When I use scala console, it prints an object in a clear style, e.g.
scala> val mike = ("mike", 40, "New York")
mike: (java.lang.String, Int, java.lang.String) = (mike,40,New York)
But if I write in a script file, like:
val mike = ("mike", 40, "New…

Freewind
- 193,756
- 157
- 432
- 708
5
votes
1 answer
Inspect Element in Android Studio
How do we inspect element in android studio.
The eclipse counterpart is Ctrl+Shift+I(after selecting a variable or expression, press Ctrl+Shift+I ).
Couldn't find this on the internet, please help!

Dipanshu Verma
- 459
- 3
- 8
- 22
5
votes
2 answers
How to get HTML of DOM element in Capybara?
I want to debug/develop code using irb:
irb> require "capybara"
irb> include Capybara::DSL
irb> Capybara.current_driver = :selenium
irb> visit "http://example.com"
But how do I get an HTML of the element I found?
irb> s = find(".user-pane")
=>…

Nakilon
- 34,866
- 14
- 107
- 142
5
votes
3 answers
Google map not fully loaded when i open inspect element it will work
i have integrate a google map on my website but when i open inspect element map will work and when i close map will disappear. Please let me know what the problem
before
After open inspect element.
Code is here
…

Pritesh Mahajan
- 4,974
- 8
- 39
- 64
5
votes
1 answer
Do the Clojure Inspector (inspect) ui buttons do anything?
Clojure comes with some basic ui apps that let you inspect objects. The generic "inspect" ui has buttons on the top for List, Table, Bean, Line, Bar, Prev, Next, etc but as far as I can tell they don't do anything. I looked at the source and they…

Alex Miller
- 69,183
- 25
- 122
- 167
5
votes
4 answers
How to figure out which Python keyword argument is missing?
When forgetting to pass certain arguments to a function, Python gives the only-somewhat-helpful message "myfunction() takes X arguments (Y given)". Is there a way to figure out the names of the missing arguments, and tell the user? Something…

marius
- 1,352
- 1
- 13
- 29
5
votes
2 answers
Ruby Configure IRB to Pretty_Inspect by Default
I'm fairly new to ruby, and am configuring IRB. I like pretty print (require 'pp'), but it seems a hassle to always type pp for it to pretty print it. What I'd like to do is make it pretty print by default, so if i have a var , say, 'myvar', and…

user151975
- 151
- 1
- 7
5
votes
5 answers
How can I inspect elements on native iOS application
I am running an iOS native app on iOS Simulator and would like to inspect the elements on the app to get the ID.
Does anyone knows how this can be done?
Note: Please, this question is for iOS native App not Web based app!
Thanks

user2073224
- 51
- 1
- 1
- 3
5
votes
1 answer
Using inspect.getmembers
I'm trying to use inspect.getmembers to check for classes and functions inside a file. The problem is that I don't know how to pass the name of the file to inspect.getmembers without using import. That's because I need to specify a different file…

tkyass
- 2,968
- 8
- 38
- 57
5
votes
4 answers
Introspecting a given function's nested (local) functions in Python
Given the function
def f():
x, y = 1, 2
def get():
print 'get'
def post():
print 'post'
is there a way for me to access its local get() and post() functions in a way that I can call them? I'm looking for a function…

Will McCutchen
- 13,047
- 3
- 44
- 43