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

Unable to hit breakpoint in ListView ItemSelected Event Handler #111556

Open
mrucker opened this issue Jan 17, 2025 · 3 comments
Open

Unable to hit breakpoint in ListView ItemSelected Event Handler #111556

mrucker opened this issue Jan 17, 2025 · 3 comments
Labels
area-Diagnostics-coreclr untriaged New issue has not been triaged by the area owner

Comments

@mrucker
Copy link

mrucker commented Jan 17, 2025

Description

When I place a breakpoint in an Event Handler for ListView's ItemSelected my entire VS environment and development device freeze until I force kill Visual Studios or my development device. This is similar to the issue described here, #91631, though not identical.

Reproduction Steps

  1. clone https://github.com/dotnet/maui-samples
  2. Create an Android device using Android Device Manager (I tried Android 13 and 14)
  3. Debug and deploy maui-samples to the newly created Android device
  4. Place a breakpoint in SelectionPage.xaml.cs OnItemSelected
  5. Click on a ListView item in the app

Expected behavior

My breakpoint works and Visual Studio does not freeze

Actual behavior

Visual Studio freezes until I force kill the application I'm debugging.

Regression?

No response

Known Workarounds

No response

Configuration

  • My target framework is net8.0-android
  • I've confirmed the bug exists for both Android 13 and 14
  • I'm on Windows 11

I've not found any configuration where it works.

Other information

No response

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jan 17, 2025
Copy link
Contributor

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

@hoyosjs
Copy link
Member

hoyosjs commented Jan 18, 2025

cc: @thaystg

@mrucker
Copy link
Author

mrucker commented Jan 18, 2025

I've spent the last several hours turning on and off all debug options.

It is working now in my personal project but the maui-samples project still doesn't allow me to place a breakpoint.

Whenever I do, and trigger the event handler, everything freezes.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Diagnostics-coreclr untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

2 participants