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
{
// Use IntelliSense to learn about possible attributes.// Hover to view descriptions of existing attributes.// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0",
"configurations": [
{
"name": "Launch file",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${file}",
"hideSystemGoroutines": true,
"showPprofLabels": [
"*"
]
}
]
}
When setting a breakpoint for last line im the main function, and debugging the program, I would like to see the goroutines listed in the call stack section with the configured pprof labels clearly visible. It would make debugging goroutines more straight forward.
Is your feature request related to a problem? Please describe.
Pprof labels are not (directly) visible in the call stack section of the debugger.
Describe the solution you'd like
I would like the Pprof labels to be visible in the call stack section of the debugger.
Consider the following program:
lauch profile:
When setting a breakpoint for last line im the
main
function, and debugging the program, I would like to see the goroutines listed in the call stack section with the configuredpprof
labels clearly visible. It would make debugging goroutines more straight forward.Additional context
showPprofLabels
is not officially supported (maybe do so?), but I used it based on information from this issue: How to enable new pprof labels features? #3173Thanks for all your work and time!
Happy to answer any upcoming questions!
BR
Gabriel
The text was updated successfully, but these errors were encountered: