-
June 30th, 2001, 03:34 AM
#1
How can I trace into DLL when I debug programs?
I want to trace into my dll when I debug,how will I do?
-
June 30th, 2001, 04:01 AM
#2
Re: How can I trace into DLL when I debug programs?
Build both (your app and your dll as debug version (set debug info ON in both projects).
Rate answer if it help you
It gives me inspiration when I see myself in the top list =)
Best regards,
-----------
Igor Soukhov (Brainbench/Tekmetrics ID:50759)
igor@soukhov.com | ICQ:57404554 | http://soukhov.com
-
June 30th, 2001, 04:11 AM
#3
Re: How can I trace into DLL when I debug programs?
Just compile the Dll and the Dll client.
Then go to the Dll Project | Settings menu
go to Debug Tab.
There You will find Executable for debug session:
Here supply the path for your Dll Client exe file.
Now put a break point any where in your Dll
and press F5 you will be able to Debug.
Also you can do it this way:
Put a break point in your DLL.
Press F5.It will ask for the Executable for debug session.
Supply the path of your DLL Client .
Now you can start Debugging.
If it works rate this post.
Nauman
-
June 30th, 2001, 05:02 AM
#4
Re: How can I trace into DLL when I debug programs?
Now I debug my DLL client (.exe file),and I want to trace my DLL from client,NOT debug my DLL,
so how can I do?
-
June 30th, 2001, 05:35 AM
#5
Re: How can I trace into DLL when I debug programs?
When you run the debugger make sure it can find the .pdb (program database) file for both the exe and the dll. You can modify various build options to help with this, but the simplest way is just to copy the debug build dll and the appropriate pdb to the same directory as the debug exe or vice versa. If you do this manually you'll need to do it each time the code changes in whichever dll or exe you had to copy over.
Hope this helps
Eugene Gill
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
|