Skip to content

Debugging .net core 3.0 from hosted application #3663

Open
@giordi91

Description

@giordi91

I am hosting a .net core 3.0 context into my c++ application. Unluckily no matter what I try I am not able to debug the c# code. Is there any way to do so?

I am loading an entry point assembly using hostfxr.h as shown in the dotnet/samples. Then from inside c# I am loading all the other c# dlls using the documentation from here:
https://docs.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support

Everything works fine, I am mostly missing the ability to debug the c# code. That is the main reason I picked c# over other languages for the integration.

I have enabled native code debugging in my c# application, but that did not help. Do I need to load the pbd files manually somehow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions