i am debugging UBT and UBA to learn the distribute compile system, but i can not switch debug mode from Auto to Midxed in VS 2022 like normal .NET program,
i want to debug code from UBT(.NET) and UBA(native) in the same process
Can you make sure that the PDB for UbaHost is copied in the same folder than the DLL? Engine\Source\Programs\UnrealBuildTool\bin\Debug\runtimes\win-x64\native\UbaHost.pdb
You should see the pdb being loaded in the Modules panel if it’s found.
[Image Removed]
You should also make sure that the debug launch profile is set to allow for native debugging. In the UnrealBuildTool’s project properties (Alt+Enter):
[Image Removed]
There is some inlining going on so you might not be able to step in all the code but I can debug the UBAHost DLL with that setup.