question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: show values of object properties on mouse hover while debugging

See original GitHub issue

While debugging a Node application, hovering the mouse over a variable in the current scope will show its value in a popup. However, this does not work for variables’ properties.

For example, hovering over a value named obj works, but not obj.propertyName, which instead just shows a documentation popup.

This means the only way to look up object properties is to use the Variables view, which can be cumbersome if a property is deeply nested (like obj.subObj.anotherSubObj.propertyName) or if the variable is in a nested scope (in which case you have to know/find the correct Block/Local/Closure scope that the variable resides in).

It would be helpful if the mouse hover popup could effectively do the work of digging through the Variables view for you.

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mickaelistriacommented, Nov 25, 2022
1reaction
mickaelistriacommented, Nov 18, 2022

I had a quick look at the feasability and it seems affordable: it looks like Wild Web Developer “only” has to provide an Adapter(ITextSelection->IVariable) that would expand the evaluation to also include the dereferenced object. If anyone wants to try contributing one, it would be welcome!

Read more comments on GitHub >

github_iconTop Results From Across the Web

VB.NET - How to view object properties via mouse hover ...
I'm working with VB.NET in Visual Studio 2015. During debugging, is there any way to view the value of a variable inside a...
Read more >
Debugger - hover over variables does not show properties but ...
1 hovering over variables while in debugging just shows the class/type of the object(if its a list shows just the count) , one...
Read more >
When debugging with Xcode, is there way to see a value of ...
I gather you would like it to call the accessor method when you hover over the property name. Does that mean you also...
Read more >
Hovers Preferences
The Hover functionality will display information about an item when the mouse is placed on it. The Hovers preferences page allows you to...
Read more >
DevTools Overview
Like browsers' DevTools, the properties view lets you edit the value of an input, output, or another property. Right-click on the property value....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found