-
Notifications
You must be signed in to change notification settings - Fork 505
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
Clarify & update "Debug WebView2 apps with Visual Studio" #3233
base: main
Are you sure you want to change the base?
Conversation
|
||
The breakpoint in the `onAddClick` function is hit, and the app is paused in the debugger. | ||
|
||
1. Switch to the Visual Studio window, and examine the debugger panes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When walking through the end-to-end steps in revised article, I never did get the debugger to halt at breakpoint, after I clicked Add Item in the running wv2 sample app.
@captainbrosset
Nice to do: Patrick do the steps in PR's article, see if hits breakpoint. See if article gives the usage info that the article ideally should give, about why we're setting a breakpoint, and what exactly eg we can do in the debugger panes (I never arrived at useful debugger panes UX).
Doing these steps would be informative for you to experience how the main wv2 sample app is meant to be used - at least, read the article re: that. Sample user has to figure out which menuitem in app to click (hundreds of menuitems), to get to webpage/code on which breakpoint is set, & how to interact w/ webpage to trigger breakpoint.
rendered article section:
https://review.learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/debug-visual-studio?branch=pr-en-us-3233#debug-your-webview2-app
check the settings in
https://review.learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/debug-visual-studio-images/enb-js.png
Rendered article for review:
Changes made by this PR:
AB#52806681 - PR Tracking item
AB#45948351 - Issue Tracking item