Questions tagged [inspect]

DO NOT USE! THIS IS AMBIGUOUS. You might be looking for [web-inspector].

610 questions
0
votes
0 answers

Recognizing attributes type, when working with properties

Example situation: So, lets assume I'm creating some inspection tool, and I wanna have a methods for listing callable fields, which are some methods, for listing data fields (normal attributes) and properties (so I can also add information on which…
Filip Malczak
  • 3,124
  • 24
  • 44
0
votes
2 answers

Ajax attack via browser Inspect Elements

Let's say i have a table and each row have 2 columns: 1) some information 2) nothing but delete the current information when clicking using AJAX
info 1
gididaf
  • 175
  • 4
  • 12
0
votes
0 answers

python3 inspect python2 module and vice versa

I need to find all classes and their methods(with arguments/signature) in a .py file. There are some restrictions: Should work under python2 and python3(the files to be scanned are python2). The files are not in python/system path and module…
user3067543
  • 71
  • 2
  • 5
0
votes
1 answer

launch gdb and print out variable value using ruby

I want to write a ruby program that could inspect the variable value of a program by launch the gdb and then print that value. How could I achieve this? If I were in the shell, I would do this : shell > gdb test [...gbd started] (gdb) p…
pierrotlefou
  • 39,805
  • 37
  • 135
  • 175
0
votes
0 answers

modify chrome extension to change window size

There's an extension that I use that alerts me to new mails and allows me to quickly compose mails. It's fine but if I could change one thing, it would be to make the 'compose message' window bigger. It's not big enough to display the 'to: '…
Jonny
  • 81
  • 1
  • 6
0
votes
1 answer

WPF UI Automation finding image

Hey all i am trying to get an image from a WPF application: As you can see the image is under the tree "Remote phone" window > "" custom > "" image I've found examples of how to find a textbox and button (and also invoking the button) but i have…
StealthRT
  • 10,108
  • 40
  • 183
  • 342
0
votes
1 answer

Ruby on Rails detecting a user, but still returning an error that it doesn't exist

pretty new to RoR, but I'm using it to build a simple app and I'm running into an issue. Basically my app uses three models: User, Post, and Thought. Where a User is a user, a Post is a post a user may make, and a Thought is like a comment on a…
0
votes
1 answer

How to inspect bindings on a Marionette view?

Is there a way to examine active bindings on a Marionette view? The bindings are created in the controller as follows: // controllers/custom_controller.js this.customView.bind("some:custom:event", this.customEventHandler, this); The custom event…
JJD
  • 50,076
  • 60
  • 203
  • 339
0
votes
0 answers

Extract information from Google's inspect element

I would like to access information from google's inspect element. In particular, the image sizes. I use beautiful soup to scrape a site given a source, however, is there any way I can access image information from google's inspect element and where…
lost9123193
  • 10,460
  • 26
  • 73
  • 113
0
votes
1 answer

Python inspect.getcomments(module) doesn't return the first comment if it's a shebang

When a Python file contains a shebang (#!blabla), the function getcomments from the module inspect doesn't return it. What can I do to get the shebang from a module object?
Dor
  • 902
  • 4
  • 24
0
votes
1 answer

Getting respective *args, **kwargs from collection of functions, then filling in the irregular 2d structure with provided 1d arguments

I have data like this: args, kwargs = (('foo', 'bar', 'baz'), {'goo': 1}) And I have functions, inside an object, which want these data as arguments. They are to be provided via a method which has this sort of signature (represented just as…
2rs2ts
  • 10,662
  • 10
  • 51
  • 95
0
votes
3 answers

display long lists in member of member of... on one line in python

I have an object with a huge list somewhere down in the bowels. The object's dump (e.g. using print(o)) doesn't fit on one screen. But if I could manage to have members that are 1-D lists printed comma-separated on one line, the object would be…
xtofl
  • 40,723
  • 12
  • 105
  • 192
0
votes
1 answer

text fade on input field, where is this being configured

i have this website im building, my client is using a template and the template has contact forms, now i cant seem to understand how to get the text fade on click for input fields to work on any additional fields i make on top of what was there on…
Spaceliving
  • 31
  • 1
  • 15
0
votes
1 answer

Identifying What Javascript is Running on a through Chrome Inspector or Firebug

I am working on a site that has info being generated dynamically into tags through jQuery. The span has a class of "Price" and an id of a Product Code and it's being generated from a JSON data sheet according to the ID. The problem is,…
MillerMedia
  • 3,651
  • 17
  • 71
  • 150
0
votes
1 answer

Eclipse: Enable line wrap in inspect window

When I used to debug my Java application with my old workspace then the popup window that appears when inspecting expressions displayed the expression's content. If this content was larger than the window's width then it inserted a line break. Now,…
PAX
  • 1,056
  • 15
  • 33