Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Async Debugging Variable Scope #125

Closed
matthewjcooper opened this issue Nov 4, 2016 · 1 comment
Closed

Async Debugging Variable Scope #125

matthewjcooper opened this issue Nov 4, 2016 · 1 comment

Comments

@matthewjcooper
Copy link

My Web API project is using async methods, and when I use this generator to run the app in the docker container with remote debugging not all variables are in scope in the locals window. The code runs fine if i just continue the execution, but I can't inspect variable values. When I debug the project without the docker container(just locally on my dev machine) all variables show in the locals window.

Screenshot while debugging through docker:
screen shot 2016-11-04 at 1 13 07 pm

Screenshot of same code debugging locally:
screen shot 2016-11-04 at 1 22 05 pm

Notice that organization is shown in the locals screen when debugging locally, but not remotely. Also, look at the debug output where i typed in the variable name "organization" and i get the value for the object when debugging local, but not remote. The call stack is different as well.

The app returns the organization in both instances, but just can't inspect while debugging in docker.

Any help is appreciated.
Thanks!

@matthewjcooper
Copy link
Author

this seems to have gone away in the latest omnishare-vscode release.

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

No branches or pull requests

1 participant