Description
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: