microsoft / ConcordExtensibilitySamples

Visual Studio Debug Engine Extensibility Samples
Other
122 stars 50 forks source link

E_XAPI_COMPONENT_DLL_NOT_FOUND when using load symbols in external process #48

Closed brunov28 closed 5 years ago

brunov28 commented 5 years ago

I have a small debugger extension that is written using IDkmCustomVisualizer API to extend some native (C++) watch variable. The extension works as expected when load symbols in external process is not check but fails when it is.

Extension is installed by copying the .dll and .vsdconfig in the diectory desribed by the documentation https://github.com/Microsoft/ConcordExtensibilitySamples/wiki/Installing-Concord-Extensions. So everything is copied to that folder C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\Packages\Debugger and the .natvis here C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\Packages\Debugger\Visualizers.

Is there a way to find out what is going on ?

Thanks.

gregg-miskelly commented 5 years ago

I added more clarification to the documentation in https://github.com/microsoft/ConcordExtensibilitySamples/wiki/Installing-Concord-Extensions. You need to switch to installing via option 1.

brunov28 commented 5 years ago

I made the switch to option 1 and it worked.

Thanks for the help.