debug class library

G

gordon

Hi

I am writing a class library in c# for a third party app. Often the code
compiles properly and when i load the dll into the app (SAS Enterprise
Guide) I will receive an error as the library is not interfacing correctly.

I would like to have the debug in Visual Studio.Net do a little bit more to
assist me in terms of calling or opening the application and running the
dll file within that application and then reporting on the errors. Do you
know if this is possible - I have tried a few methods and none are very
useful.

Doug
 
A

Andreas Mueller

gordon said:
Hi

I am writing a class library in c# for a third party app. Often the code
compiles properly and when i load the dll into the app (SAS Enterprise
Guide) I will receive an error as the library is not interfacing correctly.

I would like to have the debug in Visual Studio.Net do a little bit more to
assist me in terms of calling or opening the application and running the
dll file within that application and then reporting on the errors. Do you
know if this is possible - I have tried a few methods and none are very
useful.

Doug
Hi Doug,

Not sure if this is what you need: Simply attach you debugger to the
application that hosts you DLL.(Debug|Processes|Attach, or choose
Properties|Debug|Start External Program). Then you can debug your
projects the normal way.

HTH,
Andy
 
C

coosa

I used to debug the class libraries after attaching the dll files into
an executable project then debug the imported class libraries within
the active executable project with no problems.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top