I am trying to debug my DLL Class Library on Windows, but I am not able to get the debugger to stop in the source code.
Environment: Windows 10 Pro x64, Visual Studio Premium 2013 Update 5. Project is a .NET 4.5 Class Library. The executable is actually instantiated by another .exe
before it calls my .dll
. (I don't have source access to either of these .exe
s.) The .dll is in the same dir as its calling .exe
, but that is not the Class Library project directory. I know my .dll
code is executing, as I create new windows in my code, which are opening.
I have tried Debug->Attach to Process... in VS2013, and I connect to the calling .exe process, but the breakpoint I have set in my code never is hit, despite that code definitely being called. What am I missing here?
EDIT: This is not a duplicate of another question:
- Not getting any error message
- Not intermittently working
- The assembly is confirmed as being loaded and executed