microsoft / microsoft/vscode-mono-debug

Attempting to use the debug console to access classes or namespaces results in an "Unknown Identifier" error

Open
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
180
Forks
182
Avg merge
1d 8h
Merged PRs (30d)
1

Description

When stopped at a breakpoint or exception (or wherever one would typically be able to use the debug console), one is able to use the debug console to make calls and probe around in the current state of the suspended program.

Unfortunately, it would seem that anything outside of the class in which execution was suspended is not accessible. I can access local variables that are in scope, as well. But trying to access anything in another class or namespace results in an unknown identifier error.

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem in the debug console while stopped at a breakpoint or exception, testing access to local variables and to classes or namespaces outside the suspended class. Done means valid classes and namespaces can be accessed from the console in the suspended program state without an "Unknown Identifier" error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.