Skip to content

Breakpoints are not hit when enabling Developer Instrumentation in Release mode. #5689

Description

@dellis1972

Steps to Reproduce

Upgraded to VS 2019 v 16.9.0
Selected my “Release” configuration (with Linking turned on)
Opened the Android Project Properties dialog
Checked the checkbox “Enable Developer Instrumentation”
Set a breakpoint in my code
Clean / Re-Build / Deploy to phone

Expected Behavior

Breakpoints should hit.

Actual Behavior

In the Output window, it STILL says “Android application is running (debug is disabled in android project properties)” even though I CHECKED the “Enable Developer Instrumentation” checkbox.
The app runs OK on the phone, but my Breakpoint is NOT triggered.

Version Information

Metadata

Metadata

Assignees

Labels

Area: App RuntimeIssues in `libmonodroid.so`.possibly-staleIssues that are potentially no longer relevant.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions