Is there any way to automatically break into debugger when my class library functions are getting ca

Posted by mishal153 on Stack Overflow See other posts from Stack Overflow or by mishal153
Published on 2010-04-12T12:35:18Z Indexed on 2010/04/12 12:43 UTC
Read the original article Hit count: 444

Filed under:
|

I have a managed class library (say mylib.dll) and a 3rd party managed app (say app.exe) which is using mylib.dll. I have the code of mylib.dll but not of the app.exe. So currently what i do is i build mylib.dll, copy it to app.exe's directory, start app.exe and attach to the process. That way if i put breakpoints in code mylib.dll , i see them being hit. But is there anyway to automatically break in code of mylib.dll whenever any external application calls one of its exposed methods ? ie. Only for entrypoints of the dll.

thanks, Mishal

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio