Monitor RunTime behavior of a DLL
I am using a self made dll using VC++ in C#.
I wanted to ask, is there any way by which I could monitor the run time performance the dll. Like, once the C# code has made a call to the dll and once when it is loaded, can I monitor the behavior of the dll?
I am in development phase and the dll cod开发者_运维百科e-logic when run independently, runs perfect, however, when I call it from C#, it behaves awkwardly. So, wanted to figure out.
Thanks
Have you tried debugging your DLL by attaching it to the running C# process? Via: Debug->"Attach to Process", or even Debug->"Start Debugging" then calling the c# app.
Or writing a quick C++ app to test the actual DLL (not just the logic), thus eliminating C# as the reason it doesn't work.
精彩评论