|
-
Apr 10th, 2007, 11:51 PM
#1
Thread Starter
New Member
How to debug into DLL
Hello ,
I am debuging a windows service where i have dll references.
I am calling the functions which are in the compiled dll files.
So could anyone tell me how to debug into dll and check how the function working.
for example:
Set sendEmail = New EmailMangament.Send
sendEmail.CreateBody(Some parameters) As Boolean
so this function returns boolean while , but i want to debug into the function and see whats going on in it.
Please help me how to debug in to referenced dll.
Thanks alot
Developer9
-
Apr 10th, 2007, 11:55 PM
#2
Re: How to debug into DLL
If you know machine or assembly language then yeah you can look at the instructions... otherwise, you'll have to be content with the return value/s.
-
Apr 10th, 2007, 11:55 PM
#3
Re: How to debug into DLL
You can debug the referenced dll code when the DLL project and your main Project are together in a VBG Group. So, add the DLL project to your main Project, it will create a Project Group, then:
1) Compile your DLL Project.
2) Change the DLL Project Compatibility to Binary: In Project/Properties/Component there is a Frame with Caption Version Compatibility, Check Binary Compatibility and browse the compiled DLL file there.
3) In your main project add a reference to the DLL Project. Now you can debug the DLL code.
Last edited by jcis; Apr 11th, 2007 at 02:05 AM.
-
Apr 10th, 2007, 11:55 PM
#4
Re: How to debug into DLL
BTW, welcome to the forums.
-
Apr 11th, 2007, 01:26 AM
#5
Thread Starter
New Member
Re: How to debug into DLL
 Originally Posted by jcis
You can't debug in to referenced dll, you can debug when the DLL project is part of the VBG(Group). Add the DLL project and your main APP in the same group and add the Breakpoints in the DLL code.
1) Compile your DLL
2) change the DLL Project Compatibility to Binary and select the compiled DLL file(In Project/Properties/Component there is a Frame with Caption Version Compatibility)
3) In your main project add a reference to the DLL project. Now you can debug the DLL code.
Thankyou very much jcis
-
Apr 11th, 2007, 01:57 AM
#6
Thread Starter
New Member
Re: How to debug into DLL
 Originally Posted by leinad31
BTW, welcome to the forums.
Thankyou for welcoming.
And i guess i can learn lot of things here with you guyz.
Thanks
developer 9
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|