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
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:
The text was updated successfully, but these errors were encountered:
* feat: show class names of methods in call stack view
Uses the same logic as variable preview generation.
Closes#1770
* better formatting for static, fix test
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 thethis
object implementstoString
(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 differentbeginUpdate
call frames):Compare this with how it is without this feature request:
The text was updated successfully, but these errors were encountered: