Break on dll load in Visual Studio
Thanks to Kara Ottowell (I think I relearn this trick every two or three years, posting here so I have a chance to remember it):
In VS add a breakpoint and specify the location as, for example
if you wanted to break when the compluslm.dll was loaded. For a specific function use the same syntax but specify the function name instead of DllMain.
Learn more about this syntax here: