Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Call Stack shows only the top frame #2187

Closed
vmatyus opened this issue Dec 14, 2018 · 5 comments · Fixed by #2200
Closed

Call Stack shows only the top frame #2187

vmatyus opened this issue Dec 14, 2018 · 5 comments · Fixed by #2200
Labels

Comments

@vmatyus
Copy link

vmatyus commented Dec 14, 2018

Steps to Reproduce:

  1. Debug any Go file
  2. When the debugger stops at a breakpoint the Call Stask shows only the top frame.

To create a sample I used a simple example from github: https://github.com/CloudMQTT/go-mqtt-example/blob/master/main.go
I set a breakpoint in the connect() function to line 14 and I see this in the Call Stack:
vscode_callstack

I also collected debug trace:
debug_trace.txt

How can I correct this behavior?
I want to see the whole Call Stack, not just the top of it.

@rosulucian
Copy link

rosulucian commented Dec 14, 2018

+1
It looks light it might be a renderer problem because when you step over it looks like it`s trying to render the other calls in the stack but get dropped immediately. also sometimes when stepping over it jumps between threads.

@rosulucian
Copy link

I installed a previous version (Go-0.7.0.vsix) and it works fine. i think Go-0.8.0.vsix broke the debugger.

@vmatyus
Copy link
Author

vmatyus commented Dec 15, 2018

I use indeed Go-0.8.0.vsix! I switched back to Go-0.7.0.vsix and now it works fine!
Thanks! 👍

@ramya-rao-a
Copy link
Contributor

Thanks for reporting everyone!

@segevfiner has submitted a PR for this issue which I just merged.

To get the fix, please use the latest beta version of this extension

@ramya-rao-a
Copy link
Contributor

This fix is now out in the latest update (0.9.0) to the Go extension

@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants