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

[wasm][debugger] Not able to find a class without the namespace #62010

Closed
ilonatommy opened this issue Nov 24, 2021 · 2 comments
Closed

[wasm][debugger] Not able to find a class without the namespace #62010

ilonatommy opened this issue Nov 24, 2021 · 2 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Debugger-mono

Comments

@ilonatommy
Copy link
Member

Running tests using a class without the namespace name in the class path results in:
"message": "Type 'EvaluateMethodTestsClass' not found."
when the test is located in the same namespace and finding the class should not be a problem.

Reproduction - uncomment:

[MemberData(nameof(EvaluateStaticClassFromStaticMethodTestData), parameters: "EvaluateMethodTestsClass")]

in DebuggerTests.EvaluateStaticClassFromStaticMethod.

@dotnet-issue-labeler dotnet-issue-labeler bot added area-Debugger-mono untriaged New issue has not been triaged by the area owner labels Nov 24, 2021
@ghost
Copy link

ghost commented Nov 24, 2021

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

Issue Details

Running tests using a class without the namespace name in the class path results in:
"message": "Type 'EvaluateMethodTestsClass' not found."
when the test is located in the same namespace and finding the class should not be a problem.

Reproduction - uncomment:

[MemberData(nameof(EvaluateStaticClassFromStaticMethodTestData), parameters: "EvaluateMethodTestsClass")]

in DebuggerTests.EvaluateStaticClassFromStaticMethod.

Author: ilonatommy
Assignees: -
Labels:

untriaged, area-Debugger-mono

Milestone: -

@ilonatommy ilonatommy self-assigned this Nov 24, 2021
@ilonatommy ilonatommy added arch-wasm WebAssembly architecture and removed untriaged New issue has not been triaged by the area owner labels Nov 24, 2021
@ilonatommy
Copy link
Member Author

The passed arguments result in a failure because we are redirecting the "parameters" to SetBreakpointInMethod and then to proxy by sending "DotnetDebugger.getMethodLocation". GetMethodLocation won't find a method properly without the full path with namespace, so the current behavior is correct. Closing.

@ghost ghost locked as resolved and limited conversation to collaborators Feb 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Debugger-mono
Projects
None yet
Development

No branches or pull requests

1 participant