Skip to content

Call Stack View: Include this.toString() next to method name #1770

Closed
@hediet

Description

@hediet

For a lot of debugging situations, the method name alone is not very helpful in the call stack, especially when you have many instances of a class that interact with each other (the EventEmitter or Observable would be an example).

It would be very helpful if the call stack view would include this.toString() (or something similar) for each call frame where the this object implements toString (similar to the hover label logic).

I hacked together a quick and dirty proof of concept that gives event emitters names (which they return in their toString implementation).
With this feature, the call stack would look like this (notice _onDidChangeModelContent.fire and all the different beginUpdate call frames):

Code_-_Insiders_yU1KaweQL1

Compare this with how it is without this feature request:

oHohxBgi6E

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions