DLL module not always loaded
I am testing some code via a unit test DLL, using NUnit. The unit test exercises code in another module. I have included both the unit test DLL and the module to be profiled in my AQtime project. Normally, when I do this, I get all the results I expect. However, in this particular case, when I test a function, the DLL I want to profile is not getting loaded (I can see that it is notably missing in the Event View panel).
However, if I test a different function, then the DLL is loaded, and then unloaded afterward (which I see in Event View).
Why doesn't my DLL just always load, and stay loaded, so I can get profiling results from it? What can I do to resolve this?