Open davidsanda opened 3 years ago
Thanks for your feature request. I thought that this might be a quick win, but are not that sure any more. The thing is that the debugger engine is configured by making use of the constants defined in this class - there you find NativeOnly
and ManagedAndNative
, but nothing related to Core. For reference: The debugging engine is configured here.
I do not have the time right now to look deeper into this, but if you can tell me how to attach the according debugger engine, I might (or might not ;-) ) be able to provide that enhancement in no time.
Hello Christian, I do now know how to do it. It is far from simple, as you also need to load coreclr and documentation is less than clear. Of the Test Adapters currently available, mixed mode (core) debugging only works with Boost Adapter. No other adapter supports it. I guess taking a look there would help you quickly. From what i gather, they take the debug engine from the project configuration instead of making this choice explicit.
cheers
David
On Tue, Nov 3, 2020 at 8:07 AM Christian Soltenborn < notifications@github.com> wrote:
Thanks for your feature request. I thought that this might be a quick win, but are not that sure any more. The thing is that the debugger engine is configured by making use of the constants defined in this class https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.vsconstants.debugenginesguids?view=visualstudiosdk-2019
- there you find NativeOnly and ManagedAndNative, but nothing related to Core. For reference: The debugging engine is configured here https://github.com/csoltenborn/GoogleTestAdapter/blob/fcc83220ceec9979710c2340f2378b0e8b430a60/GoogleTestAdapter/VsPackage.Shared/Debugging/VsDebuggerAttacher.cs#L34 .
I do not have the time right now to look deeper into this, but if you can tell me how to attach the according debugger engine, I might (or might not ;-) ) be able to provide that enhancement in no time.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/csoltenborn/GoogleTestAdapter/issues/317#issuecomment-720944149, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI47DO2UWNDI4YS34EJGKBLSN6T4JANCNFSM4TF5ULMQ .
Then this will have to wait until I have more available time - sorry for that...
I have a gtest code, that uses .net core 3.1 libraries. Obviously, i want to debug them. However debugger engine only has Native and ManagedAndNative (and VsTestFramework, which is useless) which is for Managed Framework code. Thank you.![Untitled](https://user-images.githubusercontent.com/37351867/97782080-bff96d00-1b8f-11eb-8078-21b3f58ee065.png)