You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Call Stack View: Include this.toString() next to method name #1770
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):
Compare this with how it is without this feature request:
Activity
feat: show class names of methods in call stack view
feat: show class names of methods in call stack view (#1802)
hediet commentedon Sep 18, 2023
Very nice:
I think this is a significant improvement of the call stack view!
I don't know if there are some
toStringimplementation (e.g. URI.toString) that would be annoying.