Skip to content

Improve hover tooltip on top-level call stack nodes #144540

@sbj42

Description

@sbj42

When the sidebar is narrow, some strings are cut off in the Call Stack panel. Top-level nodes in that tree get ellipses, but the hover tooltip on them is a different string entirely. This is an issue in the built-in JavaScript debugger, but also potentially in other debuggers, including vscode-java-debug where I initially submitted this issue.

Please allow the tooltip for those items to include the truncated text.

For instance, in vscode 1.66.0-insiders with extensions disabled, see the following screenshot:

image

The top-level node label would be Launch Program: test.js [1724], but is truncated to L.... The hover tooltip text is just Paused on breakpoint. My request is that Launch Program: test.js should be included in the hover text somehow.

The problem is worse in the vscode-java-debug extension:

image

In Java there can be many threads, and the names of those threads is useful information, but the hover tooltip does not help because it merely says Thread. @testforstephen says that vscode is showing the "node kind" as the tooltip. It sounds like the vscode-java-debug extension needs better control over the tooltip text in the vscode API.

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesinsiders-releasedPatch has been released in VS Code InsiderspolishCleanup and polish issueverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions