Re: Referencing source of 3rd party library when debugging
- From: "Oleg Starodumov" <com-dot-debuginfo-at-oleg>
- Date: Tue, 31 Jan 2006 07:52:52 -0800
> We're using Visual Studio .NET 2003. The project is c++, plain Win32,
> no MFC. We are using Redhats pthread implementation for Win32 as we
> ported over an app from Linux.
>
> When we debug we'd like to view such things as pthread_mutexs etc..
> however the source for this is available to the debugger.
>
Do you mean that you want to step through pthreads sources,
but the debugger does not step into them?
> How can I do this? I have the source code and tried referencing it in
> Tools->Options->Projects->VC++ Directories->Source but that appears to
> only be for intellisense.
>
Source path can be specified here:
Solution properties | Common Properties | Debug Source Files
Additionally, if you want to step into the sources of a library, the library itself
should be built with debug information. If it's a static library, it should be compiled
with /Zi or /Z7 option; a DLL should also be compiled with /Zi or /Z7 and
linked with /debug option.
Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]
.
- References:
- Prev by Date: ASP.Net Not Responding after Installation of Norton Internet seurity 2005
- Previous by thread: Referencing source of 3rd party library when debugging
- Next by thread: ASP.Net Not Responding after Installation of Norton Internet seurity 2005
- Index(es):
Relevant Pages
|
Loading