How to enable new pprof labels features? #3173
-
The v0.41.0 release notes mention a feature I'm very interested in: labeling goroutines. I've updated delve & the vscode extension:
And updated my code to add labels to my goroutines, but nothing is showing in the Call Stack view for them. The delve code / PR implies that the DAP client needs to explicitly tell it which ones to show: https://github.com/go-delve/delve/blob/f32818c9e36e6c6e84a07131c08f994ee38fa156/service/dap/command.go#L67-L72 However, unlike, say, Am I missing something, or are the release notes misleading here and this feature isn't actually ready for use in the extension yet? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can add a It looks like we need a commit similar to 44e2d4d to make it known to the editor. @suzmue, could you make that change? I'm not familiar enough with this project to feel comfortable contributing a PR. |
Beta Was this translation helpful? Give feedback.
-
opened a feature request to add the |
Beta Was this translation helpful? Give feedback.
You can add a
showPprofLabels
key to your launch configuration, and it does work. It will look like it doesn't in the editor, but it does.It looks like we need a commit similar to 44e2d4d to make it known to the editor. @suzmue, could you make that change? I'm not familiar enough with this project to feel comfortable contributing a PR.