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

[debugproxy] Invoke CDP endpoint to report error to telemetry #99254

Conversation

mdh1418
Copy link
Member

@mdh1418 mdh1418 commented Mar 4, 2024

Associated with microsoft/vscode-js-debug#1961

When debugging blazorwasm applications using the BlazorDebugProxy, there are instances where the debugger itself hits an exception, such as attempting to evaluate an expression in the watch window when the debugger is paused. To capture how often users encounter such debugger exceptions, it would be helpful to send telemetry information for such events.

This PR looks to invoke the new CDP DotnetDebugger event API endpoint being added in microsoft/vscode-js-debug#1961 when expression evaluation throws an exception in the debug proxy.

example exception message send to telemetry

@ghost
Copy link

ghost commented Mar 4, 2024

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

Issue Details

Associated with microsoft/vscode-js-debug#1961

Author: mdh1418
Assignees: mdh1418
Labels:

area-Debugger-mono

Milestone: -

@mdh1418 mdh1418 force-pushed the debug_proxy_send_evaluate_expression_error_to_telemetry branch from a923b99 to cefae9b Compare March 5, 2024 02:39
@thaystg
Copy link
Member

thaystg commented Mar 5, 2024

Perfect @mdh1418! Thanks for working on it!!!

@mdh1418 mdh1418 force-pushed the debug_proxy_send_evaluate_expression_error_to_telemetry branch from acaf45c to bee404c Compare March 5, 2024 17:33
@mdh1418
Copy link
Member Author

mdh1418 commented Mar 5, 2024

The failures are unrelated (failing in other PRs) and have a tracking issue.

@mdh1418 mdh1418 merged commit 1de0d5a into dotnet:main Mar 5, 2024
13 of 17 checks passed
@mdh1418 mdh1418 deleted the debug_proxy_send_evaluate_expression_error_to_telemetry branch March 5, 2024 18:50
@github-actions github-actions bot locked and limited conversation to collaborators Apr 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants