Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger may return empty stack frames while stepping #1575

Closed
gregg-miskelly opened this issue Jun 16, 2017 · 1 comment
Closed

Debugger may return empty stack frames while stepping #1575

gregg-miskelly opened this issue Jun 16, 2017 · 1 comment
Assignees
Milestone

Comments

@gregg-miskelly
Copy link
Contributor

Environment data

VS Code version: 1.13.1
C# Extension version: 1.10.0

Steps to reproduce

  1. Debug a program. Can be anything, but something with a for loop will make it easier to reproduce.
  2. Set a breakpoint and hit it
  3. Start stepping rapidly

Expected behavior

Debugger should always show where you stopped

Actual behavior

Eventually the debugger will return an empty stack frame list which causes there to be no position marker, an call stack window, and an empty Variables window

Work around

Step again

Problem

The problem seems to be that sometimes VS Code will request the call stack while we are running. When this happens the debugger will correctly fail to return the call stack. But we will also cache the fact that we failed and not try again after stopping.

@gregg-miskelly
Copy link
Contributor Author

This is fixed in the 1.12.1 version of the debugger that I am about to checkin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant