-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of William A. Rowe, Jr. Sent: Wednesday, March 29, 2006 6:30 AM To: openssl-users@openssl.org Subject: Re: How to debug into the OpenSSL(openssl-0.9.8a) source code
Jie Zhang wrote: > Hello everybody, > > I am not able to debug into the OpenSSL library(openssl-0.9.8a) with my > Microsoft > Visual C++ .net IDE. > But during my application execution, I got: > > 'alfssl2_server.exe': Loaded > 'C:\Jie\vscode\alfssl2_work_client\Debug\ssleay32.dll', Symbols loaded. > > 'alfssl2_server.exe': Loaded > 'C:\Jie\vscode\alfssl2_work_client\Debug\libeay32.dll', Symbols loaded. > > My application is running in debug mode, in my applicatioin’s project > properties, > > Debug Information Format is: Program Database(/Zi) > > Runtime Library: Multi-threaded Debug DLL(/MDd) I don't use the 'debug' flavor, I make sure my compile includes /Zi /Oy- and my link includes /debug /opt:ref This usually works for me (although it optimizes out alot of locals, I usually only need to see the arguments passed down the call stack.) Bill Hi I am also encountering the same problem. I tried adding in options as suggested. I had modified the CFLAG and LFLAG as below. CFLAG= /MD /Ox /O2 /Zi /Oy /Ob2 /W3 /WX /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_SYSNAME_WINNT -DUNICODE -D_UNICODE -DOPENSSL_USE_APPLINK -I. /Fdout32dll -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_KRB5 LFLAGS=/nologo /subsystem:console /machine:I386 /debug /opt:ref I dont get any errors from openssl. I get 28 *.pdb files in the out32dll folder. But I am not able to debug into openssl9.8a using these. Am i missing anything? ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]