dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.16k stars 4.71k forks source link

Managed DBI: Returning managed stack when stopping on native breakpoint #46826

Open dustincoleman opened 3 years ago

dustincoleman commented 3 years ago

Scenario: Debugging Visual Studio with Visual Studio using mixed mode debugging

In the attached dump file I am stopped at a native breakpoint, which you will see if you open the dump and debugging with mixed mode in VS. However, in the live debugging scenario, the DBI returns a managed stack frame as the top frame: image

https://microsoft-my.sharepoint.com/:u:/p/dcoleman/EWUd3NMGPVVBpzgrXVSN9HUBdTgRUcy5s8ro49t9t2IGig?e=1fcPfY

ghost commented 3 years ago

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

Issue Details
Scenario: Debugging Visual Studio with Visual Studio using mixed mode debugging In the attached dump file I am stopped at a native breakpoint, which you will see if you open the dump and debugging with mixed mode in VS. However, in the live debugging scenario, the DBI returns a managed stack frame as the top frame: ![image](https://user-images.githubusercontent.com/50966240/104224853-636dc600-53fa-11eb-998f-eeba95799d16.png) https://microsoft-my.sharepoint.com/:u:/p/dcoleman/EWUd3NMGPVVBpzgrXVSN9HUBdTgRUcy5s8ro49t9t2IGig?e=1fcPfY
Author: dustincoleman
Assignees: -
Labels: `area-Diagnostics-coreclr`, `untriaged`
Milestone: -