Jie Zhang schrieb:
Hello everybody,
I am not able to debug into the OpenSSL library(openssl-0.9.8a) with my
Microsoft Visual C++ .net IDE. As mentioned in the INSTALL.W32 I have add
'debug' to the mk1mf.pl lines in the do_* batch file. I am using do_masm.bat. I
have obtained the out32dll.dbg folder with 30 *.pdb files and 2 *.dll files
without any errors during creation. I use these pdb files with my applications
by coping the pdb files and the dll files to my application directory where my
.exe file is located(In fact I think I just need copy libeay32.pdb and
ssleay32.pdb, right?). I also set up the including directory and the additional
dependency to including the OpenSSL headers and dlls, and my code can run
without any problem.
But I am not able to step into the openssl codes. For example, if I try to step into code SSL_set_connect_state(m_pSSL); Instead of go inside the function SSL_set_connect_state(), it just steps over.
If I set a breakpoint into the OpenSSL source code, the breakpoint is question marked and the hint will say that:
The breakpoint will not currently be hit. No executable code is currently loaded at this location.
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)
Am I missing something? Do I need set something in the project properties?
Thanks a lot in advance!
Jie
------------------------------------------------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC
<http://us.rd.yahoo.com/mail_us/taglines/postman5/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com>
and save big.
Dear Jie Zhang,
I would try to use the static library version, so you don't need to step
into a Dll.
I use do_ms.bat with the line
perl util\mk1mf.pl debug no-asm VC-WIN32 >ms\ntd.mak
nmake -f ms\ntd.mak
/MDd is good.
Regards
Emre Binisik
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]