I compile ASPNET Core 2.2 application, obtain pdb files and then run .NET Reactor obfuscation on assemblies. I have all components: binary, source code, pdb files.
Before .NET Reactor run I'm able to create dump file and debug it using .pdb in Visual Studio 2017. But after .NET Reactor run I get following symbol status in all included dll: "Binary was not built with debug information."
More over, .NET Reactor does not change pdb at all. it just copies them to new destination.
How can I debug obfuscated application in this case?
There are 2 kinds of
pdbspecifications. There is only a problem with the newer portablepdbspecification (it causes internally an exception and.NET Reactoronly copies the file) .And
.NET Reactordoesn't support it yet. Make sure to build dll using"full"debugging information:It should resolve the issue. As for my case, some why my
VisualStudioignores this option and keeps using'portable'even if option is full. It can be seen as it starts fromBSJB:Currently
.NET Reactorteam is aware about the issue and promise to add support in in the next major release. Till that tine try to use'full'debugging information in settings.