If you need to debug a DLL file, and you are working with Visual Studio and your test are with gTest, you need to disable the “Just My Code” debugging feature.
Tools -> Options -> Debugging
Uncheck “Enable Just My Code”
Now, run the project, and select the EXE generated by gTest. That’s all!