Debug vs. Release profiling
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2010
10:00 PM
07-20-2010
10:00 PM
Debug vs. Release profiling
Hello,
When trying to load a release version of "my.dll", AQTime "sees" the dll level functions (seen by Microsoft's "dependency walker" tool.)
When loading the debug version of the same dll, nothing is seen!
How can that be explianed?
Is there a way that AQTime profiles dlls functions even in debug mode?
(More precsiely, it looks like that when loading a debug version of a dll, AQTime looks at the included obj, not at the exported functions. If for whatever reason, there is no obj in the dll, nothing is displayed in debug whereas in release, we can see the dl functions)
Thank you
PS: using Peformance profiler 6.50.498.86
When trying to load a release version of "my.dll", AQTime "sees" the dll level functions (seen by Microsoft's "dependency walker" tool.)
When loading the debug version of the same dll, nothing is seen!
How can that be explianed?
Is there a way that AQTime profiles dlls functions even in debug mode?
(More precsiely, it looks like that when loading a debug version of a dll, AQTime looks at the included obj, not at the exported functions. If for whatever reason, there is no obj in the dll, nothing is displayed in debug whereas in release, we can see the dl functions)
Thank you
PS: using Peformance profiler 6.50.498.86
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2010
07:23 PM
07-21-2010
07:23 PM
Hi,
I am guessing that you are profiling a VC++ unmanaged library. Please let me know if I am wrong.
Have you placed the debug information file (*.pdb) for the library next to it? Please do this and let me know whether this helps.
--
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2010
07:41 PM
07-21-2010
07:41 PM
Hi,
Right, the profiled dll is unmanaged C++.
About the .pdb:
When installing the profiled application in debug mode, the pdb is present.
We do not have acces to the .pdb in release mode.
I understand that without pdb we get less information.
But I still can't explain why the debug mode does not "see" the dll level functions, wherease the release sees them.
Thank you
S.
Right, the profiled dll is unmanaged C++.
About the .pdb:
When installing the profiled application in debug mode, the pdb is present.
We do not have acces to the .pdb in release mode.
I understand that without pdb we get less information.
But I still can't explain why the debug mode does not "see" the dll level functions, wherease the release sees them.
Thank you
S.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2010
08:53 PM
07-21-2010
08:53 PM
Hi,
However, as far as I understand, you want to profile the debug version of you module, so you should have debug information. Besides that, you can generate debug information for the release version as well: just do not ship it to your application's users.
When installing the profiled application in debug mode, the pdb is present.
We do not have acces to the .pdb in release mode.
Ok, is it possible for you to send us both release and debug versions of your DLL so we can check this here? Please contact us directly via the Contact Support form.
But I still can't explain why the debug mode does not "see" the dll level functions, wherease the release sees them.
--
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
